Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.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.001369/0.001369, allocations: 77.7 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.001498/0.001498, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.503/1.503, allocations: 177.1 MB / 204.7 MB, free: 8.934 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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 57.38 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.09159, allocations: 53.39 MB / 378.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02427/0.1159, allocations: 22.24 MB / 401.2 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02758/0.1434, allocations: 19.56 MB / 420.7 MB, free: 5.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/0.1473, allocations: 269.1 kB / 421 MB, free: 5.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004071/0.1514, allocations: 1.676 MB / 422.7 MB, free: 3.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009733/0.1611, allocations: 3.311 MB / 426 MB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.1662, allocations: 1.594 MB / 427.6 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02086/0.187, allocations: 12.96 MB / 440.5 MB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.1881, allocations: 0.4926 MB / 441 MB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/0.1913, allocations: 2.205 MB / 443.2 MB, free: 14.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.1942, allocations: 2.018 MB / 445.2 MB, free: 12.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.1946, allocations: 132 kB / 445.4 MB, free: 12.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.1981, allocations: 1.261 MB / 446.6 MB, free: 11.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006791/0.1988, allocations: 0.601 MB / 447.2 MB, free: 10.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.2011, allocations: 1.929 MB / 449.2 MB, free: 8.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008211/0.2093, allocations: 6.745 MB / 455.9 MB, free: 2.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2093, allocations: 4 kB / 455.9 MB, free: 2.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2093, allocations: 0 / 455.9 MB, free: 2.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.901e-05/0.2094, allocations: 0 / 455.9 MB, free: 2.082 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.009916/0.2193, allocations: 6.863 MB / 462.8 MB, free: 11.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2193, allocations: 12.03 kB / 462.8 MB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/0.2202, allocations: 0.7764 MB / 463.6 MB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00701/0.2272, allocations: 4.367 MB / 467.9 MB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.2273, allocations: 66 kB / 468 MB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.2275, allocations: 103.9 kB / 468.1 MB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.2299, allocations: 1.316 MB / 469.4 MB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.2299, allocations: 0 / 469.4 MB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.23, allocations: 36 kB / 469.4 MB, free: 4.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-05/0.2301, allocations: 39.97 kB / 469.5 MB, free: 4.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.2329, allocations: 1.48 MB / 471 MB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2038/0.4367, allocations: 5.114 MB / 476.1 MB, free: 84.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.4396, allocations: 0.8727 MB / 476.9 MB, free: 84.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.4421, allocations: 1.068 MB / 478 MB, free: 84.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0493/0.4914, allocations: 27.07 MB / 0.4932 GB, free: 66.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008241/0.4922, allocations: 0.5513 MB / 0.4938 GB, free: 65.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.634e-06/0.4922, allocations: 0 / 0.4938 GB, free: 65.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.002752/0.495, allocations: 1.919 MB / 0.4957 GB, free: 64.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.495, allocations: 66.41 kB / 0.4957 GB, free: 63.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004666/0.4997, allocations: 5.622 MB / 0.5012 GB, free: 58.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.4998, allocations: 37.7 kB / 0.5012 GB, free: 58.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.5014, allocations: 2.965 MB / 0.5041 GB, free: 55.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5016, allocations: 318.1 kB / 0.5044 GB, free: 55.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003803/0.502, allocations: 427 kB / 0.5048 GB, free: 54.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.502, allocations: 312.9 kB / 0.5051 GB, free: 54.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/0.5027, allocations: 402.1 kB / 0.5055 GB, free: 54.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009147/0.5036, allocations: 1.081 MB / 0.5066 GB, free: 52.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.5054, allocations: 1.618 MB / 0.5082 GB, free: 50.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.5054, allocations: 8 kB / 0.5082 GB, free: 50.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002809/0.5082, allocations: 2.236 MB / 0.5104 GB, free: 48.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5082, allocations: 16 kB / 0.5104 GB, free: 48.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.5084, allocations: 171.7 kB / 0.5105 GB, free: 48.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.379e-05/0.5084, allocations: 32 kB / 0.5106 GB, free: 48.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5095, allocations: 359.4 kB / 0.5109 GB, free: 47.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.5095, allocations: 43.86 kB / 0.511 GB, free: 47.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.5112, allocations: 192.5 kB / 0.5111 GB, free: 47.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.5113, allocations: 124 kB / 0.5113 GB, free: 47.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001028/0.5123, allocations: 0.713 MB / 0.512 GB, free: 46.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/0.5128, allocations: 0.7492 MB / 0.5127 GB, free: 46.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.5164, allocations: 2.157 MB / 0.5148 GB, free: 44.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.5164, allocations: 8 kB / 0.5148 GB, free: 44.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5164, allocations: 0 / 0.5148 GB, free: 44.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5164, allocations: 3.984 kB / 0.5148 GB, free: 44.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.5211, allocations: 3.354 MB / 0.5181 GB, free: 40.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001489/0.5213, allocations: 143.9 kB / 0.5182 GB, free: 40.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.522, allocations: 155.9 kB / 0.5184 GB, free: 40.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/0.522, allocations: 9.188 kB / 0.5184 GB, free: 40.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.5221, allocations: 63.98 kB / 0.5184 GB, free: 40.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5221, allocations: 3.984 kB / 0.5184 GB, free: 40.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5221, allocations: 4 kB / 0.5184 GB, free: 40.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.5248, allocations: 2.185 MB / 0.5206 GB, free: 38.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.5259, allocations: 0.7898 MB / 0.5213 GB, free: 37.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/0.5263, allocations: 19.98 kB / 0.5214 GB, free: 37.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.5274, allocations: 27.97 kB / 0.5214 GB, free: 37.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.5276, allocations: 108.5 kB / 0.5215 GB, free: 37.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.5277, allocations: 71.88 kB / 0.5216 GB, free: 37.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003415/0.5311, allocations: 3.605 MB / 0.5251 GB, free: 33.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5311, allocations: 0 / 0.5251 GB, free: 33.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001827/0.5329, allocations: 1.087 MB / 0.5261 GB, free: 32.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001232/0.5342, allocations: 1.174 MB / 0.5273 GB, free: 31.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.5361, allocations: 1.374 MB / 0.5286 GB, free: 29.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5361, allocations: 0 / 0.5286 GB, free: 29.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008886/0.537, allocations: 0.7281 MB / 0.5293 GB, free: 29.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/0.5411, allocations: 1.183 MB / 0.5305 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00797/0.549, allocations: 8.261 MB / 0.5386 GB, free: 19.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.5503, allocations: 2.102 MB / 0.5406 GB, free: 17.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001817/0.5522, allocations: 0.6846 MB / 0.5413 GB, free: 16.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.5525, allocations: 284.5 kB / 0.5416 GB, free: 16.64 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5525, allocations: 0 / 0.5416 GB, free: 16.64 MB / 430.1 MB Notification: Performance of Templates: time 0.09635/0.6488, allocations: 57.85 MB / 0.5981 GB, free: 7.535 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.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: 6.7112621270352975]