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.001707/0.001707, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002095/0.002095, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.471/1.471, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.002009/0.002009, allocations: 63.84 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2699, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01569/0.2856, allocations: 12.9 MB / 445.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02755/0.3132, allocations: 17.96 MB / 463.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003544/0.3167, allocations: 142.5 kB / 463.4 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004109/0.3208, allocations: 1.159 MB / 464.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008222/0.3291, allocations: 2.405 MB / 466.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.3339, allocations: 1.422 MB / 468.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.3462, allocations: 6.727 MB / 475.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008528/0.3471, allocations: 266.2 kB / 475.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.3495, allocations: 1.19 MB / 476.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/0.3514, allocations: 1.094 MB / 477.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.3517, allocations: 80 kB / 477.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/0.3563, allocations: 1.202 MB / 478.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005186/0.3568, allocations: 337.5 kB / 479.2 MB, free: 7.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.3585, allocations: 1.048 MB / 480.3 MB, free: 6.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008229/0.3667, allocations: 4.04 MB / 484.3 MB, free: 2.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3667, allocations: 0 / 484.3 MB, free: 2.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3667, allocations: 4 kB / 484.3 MB, free: 2.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.3668, allocations: 0 / 484.3 MB, free: 2.328 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.006767/0.3736, allocations: 3.894 MB / 488.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3736, allocations: 19.92 kB / 488.2 MB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.3742, allocations: 429.3 kB / 488.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.3784, allocations: 2.341 MB / 491 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.3784, allocations: 37 kB / 491 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.3786, allocations: 55.95 kB / 491.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.38, allocations: 0.7304 MB / 491.8 MB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.38, allocations: 4 kB / 491.8 MB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.3801, allocations: 20 kB / 491.9 MB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.3801, allocations: 23.98 kB / 491.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.3817, allocations: 0.8163 MB / 492.7 MB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.3879, allocations: 2.808 MB / 495.5 MB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.3892, allocations: 0.5164 MB / 496 MB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009985/0.3902, allocations: 0.5614 MB / 496.6 MB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02739/0.4176, allocations: 13.73 MB / 0.4983 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000847/0.4184, allocations: 369.6 kB / 0.4987 GB, free: 7.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 3.066e-06/0.4184, allocations: 0 / 0.4987 GB, free: 7.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002729/0.4212, allocations: 1.122 MB / 0.4998 GB, free: 6.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.4212, allocations: 55.41 kB / 0.4998 GB, free: 6.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/0.4258, allocations: 3.11 MB / 0.5029 GB, free: 3.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.426, allocations: 41.7 kB / 0.5029 GB, free: 3.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.4275, allocations: 1.582 MB / 0.5045 GB, free: 1.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.4277, allocations: 174.6 kB / 0.5046 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.428, allocations: 226.4 kB / 0.5049 GB, free: 1.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4281, allocations: 341.9 kB / 0.5052 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.4288, allocations: 241.9 kB / 0.5054 GB, free: 464 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008945/0.4297, allocations: 0.6134 MB / 0.506 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.4312, allocations: 0.8935 MB / 0.5069 GB, free: 14.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4312, allocations: 7.938 kB / 0.5069 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002419/0.4336, allocations: 1.274 MB / 0.5081 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.4337, allocations: 12 kB / 0.5081 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.4338, allocations: 80 kB / 0.5082 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.4338, allocations: 16 kB / 0.5082 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.4345, allocations: 200 kB / 0.5084 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.4345, allocations: 31.86 kB / 0.5085 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.4356, allocations: 115.2 kB / 0.5086 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.4357, allocations: 64 kB / 0.5086 GB, free: 12.8 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.0008578/0.4366, allocations: 452.5 kB / 0.5091 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.4371, allocations: 425.3 kB / 0.5095 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.4397, allocations: 1.199 MB / 0.5106 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4397, allocations: 8 kB / 0.5106 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4397, allocations: 0 / 0.5106 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4397, allocations: 3.984 kB / 0.5106 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.4433, allocations: 1.988 MB / 0.5126 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/0.4434, allocations: 68 kB / 0.5127 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.4439, allocations: 95.84 kB / 0.5127 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.4439, allocations: 8.062 kB / 0.5128 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.444, allocations: 32 kB / 0.5128 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.444, allocations: 0 / 0.5128 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.444, allocations: 4 kB / 0.5128 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.4466, allocations: 1.347 MB / 0.5141 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.4478, allocations: 447 kB / 0.5145 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/0.4481, allocations: 8 kB / 0.5145 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.4488, allocations: 35.95 kB / 0.5146 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.449, allocations: 55.94 kB / 0.5146 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.449, allocations: 44.05 kB / 0.5147 GB, free: 6.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003127/0.4522, allocations: 2.007 MB / 0.5166 GB, free: 4.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4522, allocations: 0 / 0.5166 GB, free: 4.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00149/0.4537, allocations: 0.6008 MB / 0.5172 GB, free: 3.922 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.00121/0.4549, allocations: 0.7797 MB / 0.518 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.4566, allocations: 0.7723 MB / 0.5187 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4566, allocations: 0 / 0.5187 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.4574, allocations: 430.9 kB / 0.5191 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.46, allocations: 0.6397 MB / 0.5198 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.4674, allocations: 4.657 MB / 0.5243 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.4686, allocations: 1.158 MB / 0.5254 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.4689, allocations: 151.4 kB / 0.5256 GB, free: 11.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4689, allocations: 0 / 0.5256 GB, free: 11.19 MB / 446.1 MB Notification: Performance of Templates: time 0.2729/0.7418, allocations: 40.39 MB / 0.565 GB, free: 80.56 MB / 446.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/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: 11.574030613992363]