Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001846/0.001846, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002336/0.002336, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.657/1.657, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4031, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004324/0.4074, allocations: 2.592 MB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.4091, allocations: 0.7438 MB / 435.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.4093, allocations: 8 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.4094, allocations: 59.42 kB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.4097, allocations: 91.06 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.4101, allocations: 127.8 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.4106, allocations: 450.9 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.411, allocations: 173.2 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.4113, allocations: 191.4 kB / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4115, allocations: 203.1 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.028e-05/0.4116, allocations: 44 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4117, allocations: 56 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.4118, allocations: 99.67 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.412, allocations: 179.2 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.4127, allocations: 0.5086 MB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4127, allocations: 0 / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4127, allocations: 4 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.4127, allocations: 4 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001195/0.4139, allocations: 0.6145 MB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4139, allocations: 15.95 kB / 438.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.4142, allocations: 60.66 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.4145, allocations: 218.7 kB / 438.7 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.4145, allocations: 29.38 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.4146, allocations: 48.33 kB / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009456/0.4156, allocations: 0.6207 MB / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4156, allocations: 0 / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.4156, allocations: 16 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.4156, allocations: 15.94 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.4162, allocations: 279.9 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.4181, allocations: 1.096 MB / 440.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.4186, allocations: 223.4 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.419, allocations: 168.8 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.4191, allocations: 8 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4191, allocations: 34.56 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.793e-06/0.4191, allocations: 0 / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001505/0.4206, allocations: 482.4 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.4208, allocations: 243.3 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.421, allocations: 183.2 kB / 442.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.421, allocations: 33.7 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.4212, allocations: 204.6 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.4213, allocations: 107.1 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.4214, allocations: 65.69 kB / 442.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4215, allocations: 330.8 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.4217, allocations: 75.97 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.422, allocations: 341.4 kB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.4224, allocations: 200.2 kB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4224, allocations: 3.938 kB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004854/0.4229, allocations: 273.2 kB / 443.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4229, allocations: 7.938 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4229, allocations: 4 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4229, allocations: 0 / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.4233, allocations: 79.89 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.4233, allocations: 4.062 kB / 443.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.4235, allocations: 47.7 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4235, allocations: 4 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001792/0.4237, allocations: 153.8 kB / 444 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.4237, allocations: 27.8 kB / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.037e-05/0.4238, allocations: 30.64 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4238, allocations: 4 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.4238, allocations: 4 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4238, allocations: 0 / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.425, allocations: 0.6382 MB / 444.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.425, allocations: 0 / 444.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.4252, allocations: 51.97 kB / 444.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.4256, allocations: 84.8 kB / 444.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4256, allocations: 8 kB / 444.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.4279, allocations: 1.847 MB / 446.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4279, allocations: 0 / 446.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000941/0.4289, allocations: 498.2 kB / 447.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.4289, allocations: 27.72 kB / 447.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.4289, allocations: 8.062 kB / 447.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4291, allocations: 8 kB / 447.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.4292, allocations: 32.02 kB / 447.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4292, allocations: 4 kB / 447.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4293, allocations: 136.3 kB / 447.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4293, allocations: 0 / 447.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.4298, allocations: 115.7 kB / 447.5 MB, free: 6.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001566/0.4299, allocations: 99.19 kB / 447.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004663/0.4304, allocations: 199.8 kB / 447.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.4304, allocations: 8.062 kB / 447.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.4309, allocations: 266.5 kB / 448.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.4314, allocations: 40.05 kB / 448.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.4329, allocations: 0.8433 MB / 449 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.4331, allocations: 180.8 kB / 449.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.659e-05/0.4332, allocations: 17.95 kB / 449.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.4333, allocations: 23.42 kB / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4333, allocations: 0 / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of Templates: time 0.008615/0.4419, allocations: 3.556 MB / 452.7 MB, free: 1.645 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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: 5.321039005997591]