Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 213.1 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 68.12 kB / 378.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2698, allocations: 53.41 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01493/0.2848, allocations: 12.39 MB / 444 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03901/0.3238, allocations: 17.9 MB / 461.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.327, allocations: 138.5 kB / 462.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005266/0.3323, allocations: 1.128 MB / 463.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.3441, allocations: 2.363 MB / 465.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007126/0.3512, allocations: 1.414 MB / 467 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01602/0.3672, allocations: 6.607 MB / 473.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.3682, allocations: 269.7 kB / 473.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.3708, allocations: 1.151 MB / 475 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.3731, allocations: 1.059 MB / 476 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.3734, allocations: 76 kB / 476.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005271/0.3787, allocations: 1.21 MB / 477.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005655/0.3793, allocations: 325.7 kB / 477.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.3811, allocations: 1.009 MB / 478.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008336/0.3895, allocations: 3.834 MB / 482.5 MB, free: 3.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3895, allocations: 4 kB / 482.5 MB, free: 3.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3895, allocations: 0 / 482.5 MB, free: 3.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.687e-05/0.3895, allocations: 0 / 482.5 MB, free: 3.605 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.009025/0.3986, allocations: 3.734 MB / 486.2 MB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.3986, allocations: 11.98 kB / 486.2 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.3995, allocations: 409.4 kB / 486.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00619/0.4057, allocations: 2.295 MB / 488.9 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.4057, allocations: 40.98 kB / 489 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.406, allocations: 48 kB / 489 MB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.4081, allocations: 0.7382 MB / 489.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4081, allocations: 0 / 489.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.4082, allocations: 16 kB / 489.8 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.4082, allocations: 23.98 kB / 489.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.4107, allocations: 0.8124 MB / 490.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008135/0.4189, allocations: 2.762 MB / 493.4 MB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.4208, allocations: 0.5163 MB / 493.9 MB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.4224, allocations: 0.5653 MB / 494.4 MB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04275/0.4652, allocations: 13.72 MB / 0.4963 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.4665, allocations: 369.6 kB / 0.4966 GB, free: 8.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 4.117e-06/0.4665, allocations: 0 / 0.4966 GB, free: 8.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003934/0.4704, allocations: 1.107 MB / 0.4977 GB, free: 7.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.4705, allocations: 59.41 kB / 0.4977 GB, free: 7.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007089/0.4776, allocations: 2.954 MB / 0.5006 GB, free: 4.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.4777, allocations: 37.7 kB / 0.5007 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/0.48, allocations: 1.491 MB / 0.5021 GB, free: 3.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.4803, allocations: 178.6 kB / 0.5023 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/0.4809, allocations: 230.3 kB / 0.5025 GB, free: 2.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.4811, allocations: 341.9 kB / 0.5028 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4821, allocations: 241.9 kB / 0.5031 GB, free: 2.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.4834, allocations: 0.6017 MB / 0.5037 GB, free: 1.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.4858, allocations: 0.8935 MB / 0.5045 GB, free: 424 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.4858, allocations: 4 kB / 0.5045 GB, free: 420 kB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003745/0.4896, allocations: 1.247 MB / 0.5057 GB, free: 15.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.4896, allocations: 12 kB / 0.5058 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/0.4898, allocations: 83.98 kB / 0.5058 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.957e-05/0.4899, allocations: 16.81 kB / 0.5059 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.491, allocations: 207.6 kB / 0.5061 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.231e-05/0.4911, allocations: 23.88 kB / 0.5061 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.4929, allocations: 119.2 kB / 0.5062 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.493, allocations: 64 kB / 0.5063 GB, free: 14.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001205/0.4942, allocations: 436.5 kB / 0.5067 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/0.495, allocations: 405.4 kB / 0.5071 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.4993, allocations: 1.186 MB / 0.5082 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4993, allocations: 4 kB / 0.5082 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4993, allocations: 0 / 0.5082 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4993, allocations: 3.984 kB / 0.5082 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/0.5047, allocations: 1.943 MB / 0.5101 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001648/0.5049, allocations: 68 kB / 0.5102 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.5057, allocations: 99.91 kB / 0.5103 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.5057, allocations: 4 kB / 0.5103 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.663e-05/0.5058, allocations: 32 kB / 0.5103 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.5058, allocations: 4 kB / 0.5103 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5058, allocations: 3.938 kB / 0.5103 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.5097, allocations: 1.318 MB / 0.5116 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.5111, allocations: 419.2 kB / 0.512 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005399/0.5116, allocations: 8 kB / 0.512 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.5129, allocations: 36.02 kB / 0.512 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.5132, allocations: 59.94 kB / 0.5121 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.5133, allocations: 39.98 kB / 0.5121 GB, free: 8.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004541/0.5178, allocations: 1.903 MB / 0.514 GB, free: 6.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5178, allocations: 3.938 kB / 0.514 GB, free: 6.609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002302/0.5201, allocations: 0.5852 MB / 0.5146 GB, free: 6.023 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * 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.001905/0.5221, allocations: 0.7797 MB / 0.5153 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.5248, allocations: 0.7716 MB / 0.5161 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5248, allocations: 0 / 0.5161 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.526, allocations: 431.9 kB / 0.5165 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004073/0.5301, allocations: 0.6076 MB / 0.5171 GB, free: 3.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008302/0.5384, allocations: 4.394 MB / 0.5214 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.5397, allocations: 1.113 MB / 0.5225 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001038/0.5408, allocations: 357.1 kB / 0.5228 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.541, allocations: 151.4 kB / 0.523 GB, free: 13.29 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.541, allocations: 0 / 0.523 GB, free: 13.29 MB / 446.1 MB Notification: Performance of Templates: time 0.2358/0.7768, allocations: 36.54 MB / 0.5586 GB, free: 91.31 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.897738944739103]