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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 110.4 kB / 17.73 MB, free: 5.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.001581/0.001581, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001432/0.001432, allocations: 56.2 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1631, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003525/0.1667, allocations: 1.516 MB / 376.7 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.1693, allocations: 0.8941 MB / 377.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.1694, allocations: 0 / 377.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.1697, allocations: 19.86 kB / 377.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1698, allocations: 11.86 kB / 377.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.1702, allocations: 47.89 kB / 377.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1706, allocations: 155.7 kB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1708, allocations: 19.98 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007009/0.1715, allocations: 387.3 kB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1717, allocations: 71.7 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.1718, allocations: 8 kB / 378.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.1718, allocations: 12 kB / 378.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1719, allocations: 63.69 kB / 378.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1721, allocations: 115.2 kB / 378.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.1726, allocations: 362.7 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1726, allocations: 0 / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1726, allocations: 0 / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1726, allocations: 4 kB / 378.8 MB, free: 0.9102 MB / 318.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.001052/0.1737, allocations: 0.715 MB / 379.5 MB, free: 124 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.1738, allocations: 12.03 kB / 379.5 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.1739, allocations: 32.56 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3044/0.4782, allocations: 275.6 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.4783, allocations: 6.188 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.4784, allocations: 12.25 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.4788, allocations: 121.1 kB / 380 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4788, allocations: 0 / 380 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.4789, allocations: 7.703 kB / 380 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4789, allocations: 0.6562 kB / 380 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.4791, allocations: 62.3 kB / 380 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.48, allocations: 456.5 kB / 380.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4803, allocations: 100.6 kB / 380.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.4804, allocations: 83.64 kB / 380.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4804, allocations: 6.141 kB / 380.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.481, allocations: 197.9 kB / 380.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.806e-06/0.481, allocations: 1.188 kB / 380.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001028/0.482, allocations: 478.3 kB / 381.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.4821, allocations: 168.8 kB / 381.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009686/0.4831, allocations: 0.5124 MB / 382 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.4832, allocations: 29.83 kB / 382 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4833, allocations: 101.4 kB / 382.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.4833, allocations: 32.08 kB / 382.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.4836, allocations: 81.89 kB / 382.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4838, allocations: 324.3 kB / 382.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.4839, allocations: 60.53 kB / 382.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.4841, allocations: 69.44 kB / 382.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.4846, allocations: 344 kB / 383 MB, free: 11.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4846, allocations: 0 / 383 MB, free: 11.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008648/0.4855, allocations: 384.1 kB / 383.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.4856, allocations: 123.5 kB / 383.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4856, allocations: 5.406 kB / 383.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.4856, allocations: 1.844 kB / 383.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.765e-05/0.4857, allocations: 1.156 kB / 383.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4857, allocations: 0.75 kB / 383.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4859, allocations: 11.19 kB / 383.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4861, allocations: 44.62 kB / 383.6 MB, free: 10.89 MB / 318.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.0006064/0.4867, allocations: 377.9 kB / 384 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.363e-05/0.4868, allocations: 45.09 kB / 384 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.4869, allocations: 60.8 kB / 384.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4869, allocations: 1.312 kB / 384.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4869, allocations: 0.7031 kB / 384.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.487, allocations: 0 / 384.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.4885, allocations: 0.8115 MB / 384.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.4885, allocations: 2.625 kB / 384.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/0.4885, allocations: 3.484 kB / 384.9 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4885, allocations: 6.469 kB / 384.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.4886, allocations: 12.58 kB / 384.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4886, allocations: 0.8125 kB / 384.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4886, allocations: 1.344 kB / 384.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/0.4894, allocations: 0.5363 MB / 385.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.4898, allocations: 245.3 kB / 385.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.4898, allocations: 8.766 kB / 385.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.49, allocations: 13.8 kB / 385.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.4902, allocations: 21.67 kB / 385.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/0.4903, allocations: 50.91 kB / 385.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005636/0.4908, allocations: 388.1 kB / 386.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4908, allocations: 4.031 kB / 386.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.4912, allocations: 42.09 kB / 386.2 MB, free: 9.184 MB / 318.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.000204/0.4914, allocations: 113.3 kB / 386.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.4921, allocations: 441.1 kB / 386.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4921, allocations: 0 / 386.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.4925, allocations: 373.3 kB / 387.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.4933, allocations: 130.3 kB / 387.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.495, allocations: 0.6553 MB / 387.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.4957, allocations: 0.799 MB / 388.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.4958, allocations: 14.69 kB / 388.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.4958, allocations: 12.06 kB / 388.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4958, allocations: 0 / 388.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of Templates: time 0.01458/0.5104, allocations: 4.518 MB / 393.2 MB, free: 6.785 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches