Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2384, allocations: 52.13 MB / 420.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01758/0.256, allocations: 15.38 MB / 436.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02806/0.2841, allocations: 20.82 MB / 457.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.2875, allocations: 91.25 kB / 457.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.2914, allocations: 1.269 MB / 458.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00847/0.2998, allocations: 2.411 MB / 460.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004857/0.3047, allocations: 1.452 MB / 462.3 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.3156, allocations: 6.624 MB / 468.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.3163, allocations: 277.6 kB / 469.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.3181, allocations: 1.135 MB / 470.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.3196, allocations: 1.145 MB / 471.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.3198, allocations: 76 kB / 471.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.3238, allocations: 1.483 MB / 473 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.3242, allocations: 341.5 kB / 473.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.3258, allocations: 1.428 MB / 474.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005668/0.3314, allocations: 3.993 MB / 478.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3315, allocations: 0 / 478.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3315, allocations: 0 / 478.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.164e-05/0.3315, allocations: 0 / 478.8 MB, free: 4.797 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.006071/0.3376, allocations: 3.965 MB / 482.7 MB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3376, allocations: 8.031 kB / 482.7 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.3382, allocations: 437.2 kB / 483.2 MB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/0.3418, allocations: 2.506 MB / 485.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.3418, allocations: 40.98 kB / 485.7 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.342, allocations: 51.95 kB / 485.8 MB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.3434, allocations: 0.7265 MB / 486.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3434, allocations: 0 / 486.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.3435, allocations: 20 kB / 486.5 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.3435, allocations: 27.92 kB / 486.5 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.3452, allocations: 0.8124 MB / 487.3 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005483/0.3506, allocations: 3.103 MB / 490.4 MB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.3519, allocations: 0.5127 MB / 491 MB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.3529, allocations: 0.5593 MB / 491.5 MB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03293/0.3858, allocations: 30.15 MB / 0.5094 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000802/0.3866, allocations: 361.7 kB / 0.5098 GB, free: 5.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.485e-06/0.3866, allocations: 0 / 0.5098 GB, free: 5.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002446/0.3891, allocations: 1.126 MB / 0.5109 GB, free: 4.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.3891, allocations: 67.39 kB / 0.5109 GB, free: 3.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/0.3932, allocations: 3.087 MB / 0.514 GB, free: 0.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.387e-05/0.3933, allocations: 33.7 kB / 0.514 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.3948, allocations: 1.582 MB / 0.5155 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.395, allocations: 178.6 kB / 0.5157 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.3954, allocations: 238.3 kB / 0.5159 GB, free: 14.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3955, allocations: 334 kB / 0.5163 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.3962, allocations: 245.8 kB / 0.5165 GB, free: 14.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/0.397, allocations: 0.6021 MB / 0.5171 GB, free: 13.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.3986, allocations: 0.8974 MB / 0.518 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.3986, allocations: 11.88 kB / 0.518 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002331/0.4009, allocations: 1.262 MB / 0.5192 GB, free: 11.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.401, allocations: 12 kB / 0.5192 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.4011, allocations: 84 kB / 0.5193 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.4011, allocations: 16 kB / 0.5193 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.4019, allocations: 204 kB / 0.5195 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.047e-05/0.4019, allocations: 31.86 kB / 0.5195 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.4029, allocations: 111.3 kB / 0.5196 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.403, allocations: 60 kB / 0.5197 GB, free: 10.62 MB / 446.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.0008433/0.4039, allocations: 466.1 kB / 0.5201 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.4044, allocations: 413.4 kB / 0.5205 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.4071, allocations: 1.215 MB / 0.5217 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4071, allocations: 7.938 kB / 0.5217 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4071, allocations: 0 / 0.5217 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4071, allocations: 0 / 0.5217 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.4109, allocations: 2.143 MB / 0.5238 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001051/0.411, allocations: 71.98 kB / 0.5239 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.4116, allocations: 95.92 kB / 0.524 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4116, allocations: 0 / 0.524 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.4116, allocations: 32 kB / 0.524 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.4116, allocations: 3.984 kB / 0.524 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4116, allocations: 0 / 0.524 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.4142, allocations: 1.35 MB / 0.5253 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/0.415, allocations: 0.5021 MB / 0.5258 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.4153, allocations: 12 kB / 0.5258 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.416, allocations: 31.95 kB / 0.5259 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.4162, allocations: 63.83 kB / 0.5259 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.801e-05/0.4163, allocations: 39.98 kB / 0.526 GB, free: 4.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003196/0.4195, allocations: 2.007 MB / 0.5279 GB, free: 2.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4195, allocations: 0 / 0.5279 GB, free: 2.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001353/0.4208, allocations: 0.597 MB / 0.5285 GB, free: 1.461 MB / 446.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.001161/0.422, allocations: 0.7807 MB / 0.5293 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.4236, allocations: 0.7786 MB / 0.53 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4236, allocations: 0 / 0.53 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009204/0.4245, allocations: 423 kB / 0.5304 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.427, allocations: 0.6398 MB / 0.5311 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/0.4341, allocations: 4.602 MB / 0.5355 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.4355, allocations: 1.718 MB / 0.5372 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001052/0.4365, allocations: 357.3 kB / 0.5376 GB, free: 8.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.4368, allocations: 151.4 kB / 0.5377 GB, free: 7.891 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4368, allocations: 0 / 0.5377 GB, free: 7.891 MB / 462.1 MB Notification: Performance of Templates: time 0.219/0.6558, allocations: 32.49 MB / 0.5694 GB, free: 111.8 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.646839807741344]