Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001901/0.001901, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001914/0.001914, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 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.518/1.518, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 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.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.571e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004581/0.004607, allocations: 2.748 MB / 270.1 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.005987, allocations: 0.7125 MB / 270.8 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.006106, allocations: 8 kB / 270.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.006233, allocations: 63.36 kB / 270.8 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.006478, allocations: 103 kB / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.006835, allocations: 123.8 kB / 271.1 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.007371, allocations: 470.5 kB / 271.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.007662, allocations: 149.4 kB / 271.7 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.008054, allocations: 283.4 kB / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.008292, allocations: 147.6 kB / 272.1 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-05/0.008368, allocations: 44 kB / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-05/0.00845, allocations: 48 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.00856, allocations: 99.66 kB / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.008754, allocations: 159.6 kB / 272.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.009386, allocations: 0.514 MB / 272.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.009389, allocations: 0 / 272.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00939, allocations: 0 / 272.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.009398, allocations: 4 kB / 272.9 MB, free: 1.07 MB / 250.7 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.001274/0.01067, allocations: 0.7415 MB / 273.7 MB, free: 300 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01071, allocations: 8.031 kB / 273.7 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.01086, allocations: 80.66 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.01121, allocations: 224.8 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.01125, allocations: 29.38 kB / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.01134, allocations: 52.36 kB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.01225, allocations: 0.6468 MB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.01227, allocations: 192 / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.01231, allocations: 20.38 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.01233, allocations: 11.94 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.01289, allocations: 279.8 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.01521, allocations: 1.245 MB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.01569, allocations: 231.2 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.01609, allocations: 171.6 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.01612, allocations: 4 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.01616, allocations: 41.39 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.01616, allocations: 4 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001478/0.01764, allocations: 493.2 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.0178, allocations: 239.3 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.01805, allocations: 257.8 kB / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.01808, allocations: 33.7 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.01827, allocations: 255.3 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.01839, allocations: 119 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.01851, allocations: 71.36 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002911/0.01881, allocations: 0.5157 MB / 278.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.01897, allocations: 71.97 kB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.01938, allocations: 384.1 kB / 279.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.01977, allocations: 227.7 kB / 279.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01977, allocations: 0 / 279.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005145/0.02028, allocations: 285.1 kB / 279.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.02031, allocations: 11.98 kB / 279.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.02032, allocations: 0 / 279.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.02034, allocations: 3.938 kB / 279.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.02069, allocations: 79.91 kB / 279.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.0207, allocations: 7.922 kB / 279.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.02086, allocations: 31.91 kB / 279.7 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.02088, allocations: 4 kB / 279.7 MB, free: 9.801 MB / 266.7 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.0001913/0.02107, allocations: 200.5 kB / 279.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.02113, allocations: 27.91 kB / 280 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.96e-05/0.02122, allocations: 34.64 kB / 280 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.02123, allocations: 7.938 kB / 280 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.02124, allocations: 0 / 280 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.02125, allocations: 0 / 280 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.02245, allocations: 0.7523 MB / 280.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02245, allocations: 4.031 kB / 280.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.02271, allocations: 47.97 kB / 280.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/0.02314, allocations: 119.5 kB / 280.9 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.02316, allocations: 8 kB / 280.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.026, allocations: 2.373 MB / 283.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.026, allocations: 7.938 kB / 283.3 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009038/0.02691, allocations: 0.5589 MB / 283.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.02694, allocations: 23.8 kB / 283.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.02698, allocations: 15.92 kB / 283.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.02714, allocations: 8 kB / 283.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.02722, allocations: 23.95 kB / 283.9 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.02723, allocations: 8 kB / 284 MB, free: 5.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.02738, allocations: 176.2 kB / 284.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02738, allocations: 4 kB / 284.1 MB, free: 5.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.02777, allocations: 107.7 kB / 284.2 MB, free: 5.098 MB / 266.7 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.0001516/0.02792, allocations: 107.2 kB / 284.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.02838, allocations: 215.5 kB / 284.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.02838, allocations: 0 / 284.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.02894, allocations: 338.1 kB / 284.9 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.0293, allocations: 40.16 kB / 284.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.03058, allocations: 0.7641 MB / 285.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.03079, allocations: 180.8 kB / 285.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.0309, allocations: 21.95 kB / 285.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.03096, allocations: 24.48 kB / 285.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03096, allocations: 0 / 285.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of Templates: time 0.008082/0.03905, allocations: 3.127 MB / 289 MB, free: 248 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.538388107903302]