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.001366/0.001366, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.001569/0.001569, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.576/1.576, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.001866/0.001866, allocations: 71.88 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.241/0.3519, allocations: 15.35 MB / 443.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02959/0.3815, allocations: 20.85 MB / 464 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004514/0.386, allocations: 89.88 kB / 464.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.3908, allocations: 1.264 MB / 465.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.403, allocations: 2.388 MB / 467.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007055/0.4101, allocations: 1.435 MB / 469.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01458/0.4247, allocations: 6.716 MB / 475.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009286/0.4256, allocations: 270.5 kB / 476.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.428, allocations: 1.138 MB / 477.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.4302, allocations: 1.146 MB / 478.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.4304, allocations: 74.97 kB / 478.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006175/0.4366, allocations: 1.477 MB / 480 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.4371, allocations: 342.4 kB / 480.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.4394, allocations: 1.425 MB / 481.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008637/0.448, allocations: 4.005 MB / 485.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.448, allocations: 0 / 485.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.448, allocations: 0 / 485.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.05e-05/0.4481, allocations: 0 / 485.8 MB, free: 6.812 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.006557/0.4547, allocations: 3.973 MB / 489.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4547, allocations: 8.031 kB / 489.8 MB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006199/0.4553, allocations: 433.3 kB / 490.2 MB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003787/0.4591, allocations: 2.503 MB / 492.7 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.4592, allocations: 37 kB / 492.7 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4593, allocations: 51.95 kB / 492.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4608, allocations: 0.7382 MB / 493.5 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4608, allocations: 0 / 493.5 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.4609, allocations: 20 kB / 493.5 MB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.4609, allocations: 19.98 kB / 493.5 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.4625, allocations: 0.8163 MB / 494.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/0.4684, allocations: 3.099 MB / 497.5 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.4697, allocations: 0.5294 MB / 498 MB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4708, allocations: 0.5579 MB / 498.6 MB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03467/0.5055, allocations: 30.77 MB / 0.5169 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008282/0.5063, allocations: 365.6 kB / 0.5173 GB, free: 6.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.5063, allocations: 0 / 0.5173 GB, free: 6.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.002608/0.5089, allocations: 1.13 MB / 0.5184 GB, free: 5.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.509, allocations: 63.39 kB / 0.5184 GB, free: 5.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004391/0.5134, allocations: 3.087 MB / 0.5214 GB, free: 2.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.5135, allocations: 33.7 kB / 0.5215 GB, free: 2.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.5151, allocations: 1.585 MB / 0.523 GB, free: 476 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.5153, allocations: 170.6 kB / 0.5232 GB, free: 304 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.5156, allocations: 226.4 kB / 0.5234 GB, free: 72 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.5158, allocations: 345.9 kB / 0.5237 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.5165, allocations: 245.8 kB / 0.524 GB, free: 15.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.5175, allocations: 0.6059 MB / 0.5246 GB, free: 14.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.5192, allocations: 0.9013 MB / 0.5254 GB, free: 13.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.5192, allocations: 7.938 kB / 0.5254 GB, free: 13.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002676/0.5219, allocations: 1.259 MB / 0.5267 GB, free: 12.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.5219, allocations: 12 kB / 0.5267 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.5221, allocations: 80 kB / 0.5268 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/0.5221, allocations: 16 kB / 0.5268 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.5229, allocations: 203.6 kB / 0.527 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.161e-05/0.5229, allocations: 32.14 kB / 0.527 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.5241, allocations: 109.9 kB / 0.5271 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.5242, allocations: 68 kB / 0.5272 GB, free: 11.86 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.0009684/0.5251, allocations: 453.4 kB / 0.5276 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005315/0.5257, allocations: 421.3 kB / 0.528 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.5286, allocations: 1.208 MB / 0.5292 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5286, allocations: 7.984 kB / 0.5292 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5286, allocations: 3.984 kB / 0.5292 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5286, allocations: 0 / 0.5292 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.5323, allocations: 2.143 MB / 0.5313 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.994e-05/0.5324, allocations: 71.98 kB / 0.5314 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.5329, allocations: 91.92 kB / 0.5314 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.5329, allocations: 4 kB / 0.5314 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.533, allocations: 32 kB / 0.5315 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.533, allocations: 3.938 kB / 0.5315 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.533, allocations: 4 kB / 0.5315 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.5356, allocations: 1.35 MB / 0.5328 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008919/0.5364, allocations: 0.5061 MB / 0.5333 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.5367, allocations: 8 kB / 0.5333 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.5374, allocations: 31.95 kB / 0.5333 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.5376, allocations: 63.89 kB / 0.5334 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.5377, allocations: 36 kB / 0.5334 GB, free: 5.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003204/0.5409, allocations: 2.007 MB / 0.5354 GB, free: 3.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5409, allocations: 4.062 kB / 0.5354 GB, free: 3.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001579/0.5425, allocations: 0.5969 MB / 0.536 GB, free: 2.699 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.001382/0.5438, allocations: 0.7795 MB / 0.5367 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.5456, allocations: 0.771 MB / 0.5375 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5456, allocations: 0 / 0.5375 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.5464, allocations: 426.9 kB / 0.5379 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.549, allocations: 0.6549 MB / 0.5385 GB, free: 28 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.5562, allocations: 4.665 MB / 0.5431 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.5576, allocations: 1.714 MB / 0.5448 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.558, allocations: 155.4 kB / 0.5449 GB, free: 9.422 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.558, allocations: 0 / 0.5449 GB, free: 9.422 MB / 462.1 MB Notification: Performance of Templates: time 0.06163/0.6196, allocations: 38.86 MB / 0.5829 GB, free: 2.594 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.075314309913665]