Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001999, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00072/0.00072, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009267/0.001647, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8517/0.8517, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1588/1.01, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.54e-05, allocations: 6.109 kB / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.02403/0.02405, allocations: 13.67 MB / 235.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02655/0.05059, allocations: 19 MB / 254.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.05273, allocations: 138.5 kB / 254.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.05515, allocations: 1.184 MB / 255.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.06069, allocations: 2.398 MB / 258.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.0636, allocations: 1.356 MB / 259.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005903/0.0695, allocations: 6.641 MB / 266.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.06993, allocations: 299 kB / 266.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.07279, allocations: 3.368 MB / 269.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.07355, allocations: 0.8215 MB / 270.7 MB, free: 15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.07368, allocations: 72 kB / 270.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.07581, allocations: 1.136 MB / 271.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.07604, allocations: 273.7 kB / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.07673, allocations: 0.7125 MB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.07912, allocations: 2.716 MB / 275.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.769e-05/0.07914, allocations: 4 kB / 275.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.07914, allocations: 0 / 275.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.106e-05/0.07919, allocations: 0 / 275.6 MB, free: 10.08 MB / 282.7 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.003229/0.08242, allocations: 4.572 MB / 280.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.08246, allocations: 8.031 kB / 280.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.08276, allocations: 295.6 kB / 280.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.08457, allocations: 2.128 MB / 282.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.0846, allocations: 33 kB / 282.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.08468, allocations: 63.92 kB / 282.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.08517, allocations: 467.4 kB / 283.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.08518, allocations: 0 / 283.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.08522, allocations: 23.98 kB / 283.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.08523, allocations: 23.94 kB / 283.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.08556, allocations: 228.5 kB / 283.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.08755, allocations: 1.572 MB / 285 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.08783, allocations: 280.9 kB / 285.3 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1215/0.2093, allocations: 321.1 kB / 285.6 MB, free: 38.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02303/0.2324, allocations: 23.05 MB / 308.6 MB, free: 31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.2326, allocations: 219.5 kB / 308.8 MB, free: 30.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/0.2326, allocations: 0 / 308.8 MB, free: 30.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005575/0.2332, allocations: 493 kB / 309.3 MB, free: 30.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2332, allocations: 59.41 kB / 309.4 MB, free: 30.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.2345, allocations: 2.818 MB / 312.2 MB, free: 28.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.2346, allocations: 33.7 kB / 312.2 MB, free: 28.63 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.2349, allocations: 0.7825 MB / 313 MB, free: 28.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.235, allocations: 179.9 kB / 313.2 MB, free: 28.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2352, allocations: 192.3 kB / 313.4 MB, free: 27.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.2352, allocations: 343.7 kB / 313.7 MB, free: 27.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.2353, allocations: 73.97 kB / 313.8 MB, free: 27.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.2355, allocations: 457.2 kB / 314.2 MB, free: 26.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.2359, allocations: 0.6166 MB / 314.8 MB, free: 26.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2359, allocations: 6.078 kB / 314.8 MB, free: 26.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0005409/0.2365, allocations: 0.7044 MB / 315.5 MB, free: 25.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2365, allocations: 12 kB / 315.6 MB, free: 25.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.821e-05/0.2365, allocations: 25.92 kB / 315.6 MB, free: 25.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2365, allocations: 20 kB / 315.6 MB, free: 25.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.237, allocations: 232.7 kB / 315.8 MB, free: 25.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.237, allocations: 30.59 kB / 315.9 MB, free: 25.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.2374, allocations: 101.6 kB / 316 MB, free: 25.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.2374, allocations: 40 kB / 316 MB, free: 25.23 MB / 282.7 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.0002382/0.2377, allocations: 169.5 kB / 316.2 MB, free: 25.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.2378, allocations: 255.7 kB / 316.4 MB, free: 24.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/0.2387, allocations: 0.8047 MB / 317.2 MB, free: 24.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2387, allocations: 11.94 kB / 317.2 MB, free: 24.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2387, allocations: 0 / 317.2 MB, free: 24.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2387, allocations: 11.64 kB / 317.2 MB, free: 24.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.2399, allocations: 1.598 MB / 318.8 MB, free: 22.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/0.24, allocations: 8 kB / 318.8 MB, free: 22.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.2402, allocations: 115.3 kB / 319 MB, free: 22.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.2405, allocations: 407.5 kB / 319.4 MB, free: 22.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2405, allocations: 4 kB / 319.4 MB, free: 22.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.2405, allocations: 18.36 kB / 319.4 MB, free: 22.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2405, allocations: 0 / 319.4 MB, free: 22.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2405, allocations: 4 kB / 319.4 MB, free: 22.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.241, allocations: 0.6517 MB / 320 MB, free: 21.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.2412, allocations: 14.17 kB / 320.1 MB, free: 21.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.2414, allocations: 24.02 kB / 320.1 MB, free: 21.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.2415, allocations: 43.53 kB / 320.1 MB, free: 21.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.2416, allocations: 16 kB / 320.1 MB, free: 21.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007042/0.2423, allocations: 1.495 MB / 321.6 MB, free: 20.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2423, allocations: 0 / 321.6 MB, free: 20.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007238/0.243, allocations: 0.6002 MB / 322.2 MB, free: 19.65 MB / 282.7 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.0007487/0.2437, allocations: 0.9324 MB / 323.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004262/0.2442, allocations: 467.1 kB / 323.6 MB, free: 18.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.781e-05/0.2442, allocations: 57.91 kB / 323.7 MB, free: 18.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.2444, allocations: 235 kB / 323.9 MB, free: 18.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.2455, allocations: 0.8105 MB / 324.7 MB, free: 17.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.2514, allocations: 4.218 MB / 328.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2516, allocations: 415.4 kB / 329.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004913/0.2521, allocations: 361.5 kB / 329.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/0.2527, allocations: 0.5962 MB / 330.3 MB, free: 11.72 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2527, allocations: 0 / 330.3 MB, free: 11.72 MB / 282.7 MB Notification: Performance of Templates: time 0.04273/0.2955, allocations: 39.86 MB / 370.1 MB, free: 3.945 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5909158755093813]