Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 185.9 kB / 24.47 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 44.03 kB / 371.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2684, allocations: 52.18 MB / 423.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01513/0.2835, allocations: 14.79 MB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02513/0.3087, allocations: 20.74 MB / 459.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.311, allocations: 134.6 kB / 459.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.3142, allocations: 1.251 MB / 460.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006964/0.3212, allocations: 2.37 MB / 463.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.3255, allocations: 1.453 MB / 464.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3357, allocations: 6.521 MB / 471.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.3364, allocations: 273.7 kB / 471.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.338, allocations: 1.139 MB / 472.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.3396, allocations: 1.118 MB / 473.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.3397, allocations: 72 kB / 473.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.3436, allocations: 1.475 MB / 475.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.344, allocations: 333.5 kB / 475.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.3455, allocations: 1.374 MB / 476.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.3509, allocations: 3.784 MB / 480.7 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3509, allocations: 0 / 480.7 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3509, allocations: 0 / 480.7 MB, free: 5.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.382e-05/0.3509, allocations: 4 kB / 480.7 MB, free: 5.645 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.005561/0.3565, allocations: 3.738 MB / 484.4 MB, free: 1.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3565, allocations: 8.031 kB / 484.4 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.357, allocations: 421.3 kB / 484.8 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/0.3607, allocations: 2.295 MB / 487.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.3607, allocations: 33 kB / 487.2 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.3608, allocations: 59.95 kB / 487.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.3623, allocations: 0.7343 MB / 488 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3623, allocations: 0 / 488 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.3623, allocations: 20 kB / 488 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.3624, allocations: 19.98 kB / 488 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.364, allocations: 0.8241 MB / 488.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005556/0.3695, allocations: 2.992 MB / 491.8 MB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3708, allocations: 0.5125 MB / 492.3 MB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009914/0.3718, allocations: 0.5659 MB / 492.9 MB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03001/0.4018, allocations: 13.75 MB / 0.4948 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.403, allocations: 369.6 kB / 0.4951 GB, free: 10.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 3.296e-06/0.403, allocations: 0 / 0.4951 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.00357/0.4066, allocations: 1.11 MB / 0.4962 GB, free: 9.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.4066, allocations: 55.41 kB / 0.4963 GB, free: 9.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/0.4124, allocations: 2.939 MB / 0.4991 GB, free: 6.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.4126, allocations: 41.64 kB / 0.4992 GB, free: 6.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/0.4147, allocations: 1.502 MB / 0.5006 GB, free: 4.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.415, allocations: 174.6 kB / 0.5008 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004934/0.4155, allocations: 226.4 kB / 0.501 GB, free: 4.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.4157, allocations: 337.9 kB / 0.5013 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009298/0.4166, allocations: 245.9 kB / 0.5016 GB, free: 4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.4178, allocations: 0.6057 MB / 0.5022 GB, free: 3.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.4202, allocations: 0.8935 MB / 0.503 GB, free: 2.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.4202, allocations: 7.938 kB / 0.503 GB, free: 2.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003471/0.4236, allocations: 1.243 MB / 0.5043 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.4237, allocations: 15.44 kB / 0.5043 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/0.4238, allocations: 83.98 kB / 0.5044 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-05/0.4239, allocations: 20.03 kB / 0.5044 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.425, allocations: 203.6 kB / 0.5046 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.718e-05/0.425, allocations: 23.92 kB / 0.5046 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.4267, allocations: 115.2 kB / 0.5047 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.4269, allocations: 64 kB / 0.5048 GB, free: 384 kB / 414.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.001154/0.428, allocations: 437.5 kB / 0.5052 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008984/0.4289, allocations: 397.5 kB / 0.5056 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.433, allocations: 1.19 MB / 0.5067 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4331, allocations: 8 kB / 0.5067 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4331, allocations: 0 / 0.5067 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.4331, allocations: 11.92 kB / 0.5067 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/0.4385, allocations: 2.064 MB / 0.5088 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001496/0.4386, allocations: 68 kB / 0.5088 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/0.4393, allocations: 91.91 kB / 0.5089 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.4393, allocations: 4 kB / 0.5089 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.887e-05/0.4394, allocations: 32.06 kB / 0.5089 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.4394, allocations: 11.94 kB / 0.509 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.4394, allocations: 0 / 0.509 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.4429, allocations: 1.31 MB / 0.5102 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.4442, allocations: 419.2 kB / 0.5106 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000589/0.4448, allocations: 8 kB / 0.5106 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.446, allocations: 36.03 kB / 0.5107 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.4462, allocations: 63.86 kB / 0.5107 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4463, allocations: 36 kB / 0.5108 GB, free: 10.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00433/0.4506, allocations: 1.907 MB / 0.5126 GB, free: 8.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4506, allocations: 3.938 kB / 0.5126 GB, free: 8.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001821/0.4525, allocations: 0.5891 MB / 0.5132 GB, free: 7.613 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.001284/0.4538, allocations: 0.7808 MB / 0.514 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.4555, allocations: 0.7738 MB / 0.5147 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4555, allocations: 0 / 0.5147 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008042/0.4563, allocations: 432.5 kB / 0.5151 GB, free: 5.578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.459, allocations: 0.5997 MB / 0.5157 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.4663, allocations: 4.458 MB / 0.5201 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.4678, allocations: 1.665 MB / 0.5217 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.4682, allocations: 155.4 kB / 0.5219 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4682, allocations: 0 / 0.5219 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Templates: time 0.2462/0.7144, allocations: 37.7 MB / 0.5587 GB, free: 96.34 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.093857740983367]