Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.001481/0.001481, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001676/0.001676, allocations: 216 kB / 23.73 MB, free: 4.406 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.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.InvertersExtendedModel,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.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,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.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.83 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2246, allocations: 53.41 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01431/0.2389, allocations: 12.89 MB / 444.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02367/0.2625, allocations: 17.97 MB / 462.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.2641, allocations: 134.5 kB / 462.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.2668, allocations: 1.161 MB / 463.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.273, allocations: 2.405 MB / 466.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.2771, allocations: 1.414 MB / 467.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.2872, allocations: 6.731 MB / 474.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.2878, allocations: 262.2 kB / 474.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.2894, allocations: 1.19 MB / 475.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.2907, allocations: 1.094 MB / 476.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.2909, allocations: 76 kB / 476.9 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.2942, allocations: 1.21 MB / 478.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.2945, allocations: 337.5 kB / 478.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.2956, allocations: 1.052 MB / 479.5 MB, free: 6.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004892/0.3005, allocations: 4.04 MB / 483.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3005, allocations: 0 / 483.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3005, allocations: 0 / 483.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.405e-05/0.3005, allocations: 0 / 483.6 MB, free: 2.359 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.005639/0.3061, allocations: 3.89 MB / 487.5 MB, free: 14.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3062, allocations: 11.98 kB / 487.5 MB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.3066, allocations: 433.3 kB / 487.9 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.3104, allocations: 2.349 MB / 490.2 MB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.3104, allocations: 44.92 kB / 490.3 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3106, allocations: 55.94 kB / 490.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.312, allocations: 0.7304 MB / 491.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.312, allocations: 0 / 491.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.3121, allocations: 20 kB / 491.1 MB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.3121, allocations: 23.98 kB / 491.1 MB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.3137, allocations: 0.8124 MB / 491.9 MB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005035/0.3188, allocations: 2.811 MB / 494.7 MB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.32, allocations: 0.5164 MB / 495.3 MB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.321, allocations: 0.5614 MB / 495.8 MB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0266/0.3476, allocations: 13.73 MB / 0.4976 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008076/0.3484, allocations: 369.6 kB / 0.498 GB, free: 7.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.494e-06/0.3484, allocations: 0 / 0.498 GB, free: 7.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002318/0.3507, allocations: 1.126 MB / 0.4991 GB, free: 6.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.3508, allocations: 63.39 kB / 0.4991 GB, free: 6.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/0.3546, allocations: 3.102 MB / 0.5021 GB, free: 3.094 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.3547, allocations: 37.7 kB / 0.5022 GB, free: 3.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.3562, allocations: 1.585 MB / 0.5037 GB, free: 1.457 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.3564, allocations: 178.5 kB / 0.5039 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.3567, allocations: 230.4 kB / 0.5041 GB, free: 1.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3568, allocations: 338 kB / 0.5044 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.3574, allocations: 245.8 kB / 0.5047 GB, free: 484 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/0.3583, allocations: 0.6057 MB / 0.5053 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.3599, allocations: 0.9013 MB / 0.5061 GB, free: 14.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.3599, allocations: 4 kB / 0.5062 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002209/0.3621, allocations: 1.267 MB / 0.5074 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3621, allocations: 12 kB / 0.5074 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/0.3622, allocations: 80 kB / 0.5075 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.3622, allocations: 16 kB / 0.5075 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.363, allocations: 199.7 kB / 0.5077 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/0.363, allocations: 31.86 kB / 0.5077 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/0.3639, allocations: 115.4 kB / 0.5078 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.3641, allocations: 64 kB / 0.5079 GB, free: 12.83 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.0007292/0.3648, allocations: 452.5 kB / 0.5083 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.3652, allocations: 421.3 kB / 0.5087 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.3679, allocations: 1.211 MB / 0.5099 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3679, allocations: 7.984 kB / 0.5099 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3679, allocations: 4 kB / 0.5099 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3679, allocations: 0 / 0.5099 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.3714, allocations: 1.988 MB / 0.5119 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/0.3715, allocations: 71.98 kB / 0.5119 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.372, allocations: 95.86 kB / 0.512 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.372, allocations: 0 / 0.512 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.3721, allocations: 35.98 kB / 0.512 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3721, allocations: 8.062 kB / 0.5121 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3721, allocations: 0 / 0.5121 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.3745, allocations: 1.343 MB / 0.5134 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/0.3754, allocations: 435.1 kB / 0.5138 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.3757, allocations: 11.98 kB / 0.5138 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.3764, allocations: 31.97 kB / 0.5138 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3766, allocations: 63.92 kB / 0.5139 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.3767, allocations: 36 kB / 0.5139 GB, free: 6.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002665/0.3793, allocations: 2.007 MB / 0.5159 GB, free: 4.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3793, allocations: 4.062 kB / 0.5159 GB, free: 4.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001332/0.3807, allocations: 0.6008 MB / 0.5165 GB, free: 3.957 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.001168/0.3818, allocations: 0.7836 MB / 0.5172 GB, free: 3.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.3835, allocations: 0.7723 MB / 0.518 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3835, allocations: 4.125 kB / 0.518 GB, free: 2.363 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.3843, allocations: 422.9 kB / 0.5184 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.3868, allocations: 0.6384 MB / 0.519 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.3932, allocations: 4.585 MB / 0.5235 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.3944, allocations: 1.162 MB / 0.5246 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.3954, allocations: 361.3 kB / 0.525 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.3956, allocations: 147.4 kB / 0.5251 GB, free: 10.95 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3956, allocations: 0 / 0.5251 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Templates: time 0.2372/0.6328, allocations: 37.59 MB / 0.5618 GB, free: 87.43 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.877010988071561]