Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.0009635, allocations: 95.7 kB / 17.3 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 173.2 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 18.97 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001732/0.1307, allocations: 1.227 MB / 330.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1325, allocations: 0.9063 MB / 331.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.1326, allocations: 0 / 331.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.918e-05/0.1327, allocations: 7.922 kB / 331.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.1328, allocations: 19.84 kB / 331.2 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.133, allocations: 43.97 kB / 331.3 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1332, allocations: 111.7 kB / 331.4 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1333, allocations: 35.95 kB / 331.4 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.1338, allocations: 371.3 kB / 331.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1339, allocations: 63.7 kB / 331.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.1339, allocations: 4 kB / 331.8 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.134, allocations: 4 kB / 331.8 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.1341, allocations: 67.7 kB / 331.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1342, allocations: 132.9 kB / 332 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1345, allocations: 350.6 kB / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1345, allocations: 0 / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1345, allocations: 0 / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1345, allocations: 0 / 332.4 MB, free: 320 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006962/0.1352, allocations: 0.6492 MB / 333 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1353, allocations: 12.03 kB / 333 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/0.1354, allocations: 42.69 kB / 333.1 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.1354, allocations: 36.47 kB / 333.1 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1357, allocations: 274.3 kB / 333.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1358, allocations: 8.375 kB / 333.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.1358, allocations: 8.375 kB / 333.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.1361, allocations: 137.7 kB / 333.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1361, allocations: 4 kB / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.1362, allocations: 4 kB / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1362, allocations: 0 / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1363, allocations: 59.91 kB / 333.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.137, allocations: 468.5 kB / 334.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1372, allocations: 98.48 kB / 334.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1373, allocations: 84.88 kB / 334.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.1373, allocations: 4 kB / 334.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.1377, allocations: 202.7 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1377, allocations: 3.938 kB / 334.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008462/0.1385, allocations: 464 kB / 334.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.1387, allocations: 166.2 kB / 335.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.1394, allocations: 0.5207 MB / 335.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1394, allocations: 29.7 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.1395, allocations: 97.14 kB / 335.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.1395, allocations: 31.69 kB / 335.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1396, allocations: 25.7 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1397, allocations: 326.8 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1399, allocations: 51.97 kB / 336.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.14, allocations: 77.67 kB / 336.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.1404, allocations: 343.6 kB / 336.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1404, allocations: 0 / 336.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005307/0.1409, allocations: 384.4 kB / 336.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1411, allocations: 122.8 kB / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1411, allocations: 4.031 kB / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1411, allocations: 0 / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.657e-05/0.1411, allocations: 4 kB / 337 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1411, allocations: 0 / 337 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.1413, allocations: 19.89 kB / 337.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/0.1414, allocations: 40 kB / 337.1 MB, free: 11.16 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004654/0.1419, allocations: 362.2 kB / 337.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.1419, allocations: 35.62 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1421, allocations: 71.12 kB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1421, allocations: 0 / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1421, allocations: 0 / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1421, allocations: 0 / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.1433, allocations: 0.8211 MB / 338.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1433, allocations: 0 / 338.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-06/0.1434, allocations: 0 / 338.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1434, allocations: 0 / 338.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.1434, allocations: 11.98 kB / 338.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.1434, allocations: 8 kB / 338.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1434, allocations: 7.875 kB / 338.4 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.1442, allocations: 0.5215 MB / 338.9 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.1446, allocations: 248.3 kB / 339.2 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.1446, allocations: 16 kB / 339.2 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1448, allocations: 15.94 kB / 339.2 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.1449, allocations: 27.91 kB / 339.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.145, allocations: 55.92 kB / 339.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005295/0.1455, allocations: 382.9 kB / 339.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1455, allocations: 4 kB / 339.7 MB, free: 8.414 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.1459, allocations: 40 kB / 339.7 MB, free: 8.375 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.1472, allocations: 1.074 MB / 340.8 MB, free: 7.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.1478, allocations: 437.5 kB / 341.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1479, allocations: 4 kB / 341.2 MB, free: 6.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.1483, allocations: 373.6 kB / 341.6 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.1489, allocations: 113.4 kB / 341.7 MB, free: 6.242 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.153, allocations: 2.794 MB / 344.5 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.1535, allocations: 0.8022 MB / 345.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.1536, allocations: 12.66 kB / 345.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.1537, allocations: 31.42 kB / 345.3 MB, free: 2.465 MB / 286.1 MB Notification: Performance of SimCode: time 2.815e-06/0.1537, allocations: 0 / 345.3 MB, free: 2.465 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.1702, allocations: 5.197 MB / 350.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.1704, allocations: 188.4 kB / 350.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.103, allocations: 0 / 350.7 MB, free: 12.97 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches