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.00192/0.00192, allocations: 82.17 kB / 21.25 MB, free: 0.5469 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.001771/0.001771, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.423/1.423, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.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.001943/0.001943, allocations: 62.72 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09801, allocations: 53.38 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01465/0.1127, allocations: 12.91 MB / 391.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.1363, allocations: 17.97 MB / 409.8 MB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.1386, allocations: 134.5 kB / 409.9 MB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.1419, allocations: 1.157 MB / 411.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008139/0.15, allocations: 2.406 MB / 413.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.155, allocations: 1.414 MB / 414.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01162/0.1666, allocations: 6.755 MB / 421.6 MB, free: 4.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006823/0.1673, allocations: 270.3 kB / 421.9 MB, free: 4.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.1692, allocations: 1.186 MB / 423.1 MB, free: 3.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.1709, allocations: 1.102 MB / 424.2 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.1711, allocations: 72 kB / 424.3 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.1744, allocations: 1.198 MB / 425.5 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004055/0.1748, allocations: 341.5 kB / 425.8 MB, free: 360 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.1761, allocations: 1.052 MB / 426.8 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00552/0.1817, allocations: 4.044 MB / 430.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1817, allocations: 4 kB / 430.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1817, allocations: 0 / 430.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.843e-05/0.1817, allocations: 0 / 430.9 MB, free: 11.23 MB / 398.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.005839/0.1876, allocations: 3.882 MB / 434.8 MB, free: 7.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1876, allocations: 8.031 kB / 434.8 MB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.1881, allocations: 437.3 kB / 435.2 MB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003933/0.192, allocations: 2.345 MB / 437.6 MB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.1921, allocations: 33 kB / 437.6 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.1922, allocations: 59.95 kB / 437.7 MB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.1936, allocations: 0.7343 MB / 438.4 MB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1936, allocations: 0 / 438.4 MB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.1937, allocations: 20 kB / 438.4 MB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.1937, allocations: 19.98 kB / 438.4 MB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.1955, allocations: 0.8202 MB / 439.2 MB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005438/0.201, allocations: 2.792 MB / 442 MB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.2022, allocations: 0.5319 MB / 442.6 MB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.2033, allocations: 0.5652 MB / 443.1 MB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02646/0.2297, allocations: 13.73 MB / 456.9 MB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008326/0.2306, allocations: 374 kB / 457.2 MB, free: 272 kB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.344e-06/0.2306, allocations: 0 / 457.2 MB, free: 272 kB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002502/0.2331, allocations: 1.127 MB / 458.4 MB, free: 15.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.2331, allocations: 59.41 kB / 458.4 MB, free: 15.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/0.2371, allocations: 3.106 MB / 461.5 MB, free: 11.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.2372, allocations: 33.69 kB / 461.6 MB, free: 11.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.2387, allocations: 1.589 MB / 463.1 MB, free: 10.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.2389, allocations: 174.5 kB / 463.3 MB, free: 10.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.2392, allocations: 230.4 kB / 463.5 MB, free: 9.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2394, allocations: 341.9 kB / 463.9 MB, free: 9.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.2401, allocations: 241.9 kB / 464.1 MB, free: 9.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009927/0.2411, allocations: 0.6017 MB / 464.7 MB, free: 8.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.2427, allocations: 0.8945 MB / 465.6 MB, free: 7.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.2427, allocations: 4 kB / 465.6 MB, free: 7.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002411/0.2451, allocations: 1.275 MB / 466.9 MB, free: 6.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.2451, allocations: 11.98 kB / 466.9 MB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.2453, allocations: 80.88 kB / 467 MB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.2453, allocations: 20 kB / 467 MB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.2461, allocations: 199.7 kB / 467.2 MB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.263e-05/0.2461, allocations: 27.86 kB / 467.2 MB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.2471, allocations: 111.3 kB / 467.3 MB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.2472, allocations: 64 kB / 467.4 MB, free: 5.707 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.0009229/0.2482, allocations: 459.5 kB / 467.8 MB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/0.2486, allocations: 417.3 kB / 468.2 MB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/0.2513, allocations: 1.208 MB / 469.5 MB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2513, allocations: 4 kB / 469.5 MB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2513, allocations: 4 kB / 469.5 MB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2514, allocations: 3.984 kB / 469.5 MB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.2551, allocations: 1.989 MB / 471.5 MB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001058/0.2553, allocations: 68.06 kB / 471.5 MB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.2558, allocations: 99.84 kB / 471.6 MB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2558, allocations: 4 kB / 471.6 MB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.2558, allocations: 28 kB / 471.6 MB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2558, allocations: 0 / 471.6 MB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2558, allocations: 0 / 471.6 MB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.2583, allocations: 1.348 MB / 473 MB, free: 4 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1759/0.4342, allocations: 437.1 kB / 473.4 MB, free: 88.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.4345, allocations: 12.06 kB / 473.4 MB, free: 88.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.4352, allocations: 31.33 kB / 473.5 MB, free: 88.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.4354, allocations: 63.7 kB / 473.5 MB, free: 88.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-05/0.4355, allocations: 37.66 kB / 473.6 MB, free: 88.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002805/0.4383, allocations: 2.005 MB / 475.6 MB, free: 87.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4383, allocations: 0 / 475.6 MB, free: 87.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001301/0.4396, allocations: 0.5999 MB / 476.2 MB, free: 87.9 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.0009956/0.4406, allocations: 0.7842 MB / 477 MB, free: 87.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.4423, allocations: 0.7788 MB / 477.7 MB, free: 87.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4423, allocations: 0.625 kB / 477.7 MB, free: 87.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.443, allocations: 430.8 kB / 478.2 MB, free: 87.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.4456, allocations: 0.6363 MB / 478.8 MB, free: 87.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.4516, allocations: 4.584 MB / 483.4 MB, free: 85.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.4529, allocations: 1.162 MB / 484.5 MB, free: 84.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.454, allocations: 361 kB / 484.9 MB, free: 84.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.4543, allocations: 150.3 kB / 485 MB, free: 84.75 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4543, allocations: 4 kB / 485 MB, free: 84.74 MB / 430.1 MB Notification: Performance of Templates: time 0.04464/0.4989, allocations: 33.38 MB / 0.5063 GB, free: 55.42 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/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.701671157963574]