Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002578/0.002578, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 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.003012/0.003012, allocations: 164.3 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.431e-05/4.692e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.006942/0.006989, allocations: 2.693 MB / 253.1 MB, free: 5.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.009424, allocations: 0.737 MB / 253.8 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.009736, allocations: 4 kB / 253.8 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.01, allocations: 63.36 kB / 253.9 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.01046, allocations: 107 kB / 254 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.01104, allocations: 115.8 kB / 254.1 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009758/0.01202, allocations: 454.6 kB / 254.5 MB, free: 3.648 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.01249, allocations: 157.4 kB / 254.7 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006713/0.01316, allocations: 271.5 kB / 254.9 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.01358, allocations: 147.5 kB / 255.1 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.01371, allocations: 44 kB / 255.1 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.01385, allocations: 48 kB / 255.2 MB, free: 2.984 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.01401, allocations: 107.6 kB / 255.3 MB, free: 2.879 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.01432, allocations: 147.7 kB / 255.4 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.01531, allocations: 0.5101 MB / 255.9 MB, free: 2.223 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.01532, allocations: 0 / 255.9 MB, free: 2.223 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01532, allocations: 0 / 255.9 MB, free: 2.223 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.01534, allocations: 0 / 255.9 MB, free: 2.223 MB / 234.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.001995/0.01733, allocations: 0.7415 MB / 256.7 MB, free: 1.445 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.01739, allocations: 11.98 kB / 256.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.01763, allocations: 80.66 kB / 256.8 MB, free: 1.355 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.01821, allocations: 220.7 kB / 257 MB, free: 1.109 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.01826, allocations: 33.38 kB / 257 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.01839, allocations: 52.33 kB / 257.1 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.01993, allocations: 0.6468 MB / 257.7 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.01996, allocations: 192 / 257.7 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.02003, allocations: 20.38 kB / 257.7 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.02005, allocations: 15.94 kB / 257.7 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009856/0.02104, allocations: 271.8 kB / 258 MB, free: 0 / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.02458, allocations: 1.245 MB / 259.3 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/0.02536, allocations: 231.1 kB / 259.5 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.02602, allocations: 179.5 kB / 259.7 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.02606, allocations: 4 kB / 259.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.02612, allocations: 41.39 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.374e-06/0.02612, allocations: 0 / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002462/0.02858, allocations: 493.2 kB / 260.2 MB, free: 13.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002508/0.02883, allocations: 239.3 kB / 260.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.02923, allocations: 249.9 kB / 260.7 MB, free: 13.17 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.02928, allocations: 33.7 kB / 260.7 MB, free: 13.13 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.02959, allocations: 255.2 kB / 260.9 MB, free: 12.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.02976, allocations: 119 kB / 261.1 MB, free: 12.76 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.02996, allocations: 79.34 kB / 261.1 MB, free: 12.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004136/0.03037, allocations: 0.5118 MB / 261.6 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.03065, allocations: 75.95 kB / 261.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.03125, allocations: 361 kB / 262.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.0322, allocations: 325.5 kB / 262.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.0322, allocations: 0 / 262.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008777/0.03308, allocations: 277.2 kB / 262.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.03311, allocations: 12.06 kB / 262.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.03312, allocations: 0 / 262.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.03314, allocations: 7.938 kB / 262.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.03373, allocations: 75.89 kB / 262.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.03374, allocations: 7.938 kB / 262.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.03402, allocations: 27.84 kB / 262.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.03405, allocations: 8 kB / 262.8 MB, free: 10.89 MB / 250.7 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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.0004072/0.03446, allocations: 212.5 kB / 263 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.03458, allocations: 35.86 kB / 263 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.03469, allocations: 22.66 kB / 263.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.0347, allocations: 7.938 kB / 263.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.03472, allocations: 4 kB / 263.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.03472, allocations: 3.984 kB / 263.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.03669, allocations: 0.7445 MB / 263.8 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.0367, allocations: 3.984 kB / 263.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.03711, allocations: 47.97 kB / 263.9 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006511/0.03776, allocations: 111.5 kB / 264 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.03779, allocations: 4 kB / 264 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.04181, allocations: 2.388 MB / 266.4 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.04181, allocations: 3.938 kB / 266.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.04323, allocations: 0.559 MB / 266.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.04329, allocations: 19.84 kB / 267 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.04336, allocations: 11.97 kB / 267 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.04362, allocations: 12 kB / 267 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.04372, allocations: 23.95 kB / 267 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.04374, allocations: 7.984 kB / 267 MB, free: 6.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002388/0.04398, allocations: 180.2 kB / 267.2 MB, free: 6.289 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04398, allocations: 0 / 267.2 MB, free: 6.289 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007053/0.04469, allocations: 111.7 kB / 267.3 MB, free: 6.18 MB / 250.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.0002066/0.04489, allocations: 99.19 kB / 267.4 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007355/0.04563, allocations: 227.3 kB / 267.6 MB, free: 5.848 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.04564, allocations: 4 kB / 267.6 MB, free: 5.844 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007995/0.04644, allocations: 354.8 kB / 268 MB, free: 5.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.04694, allocations: 27.91 kB / 268 MB, free: 5.449 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.04893, allocations: 0.752 MB / 268.7 MB, free: 4.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.04925, allocations: 184.7 kB / 268.9 MB, free: 4.457 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.04938, allocations: 21.94 kB / 268.9 MB, free: 4.438 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.04948, allocations: 20.5 kB / 269 MB, free: 4.418 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04948, allocations: 4 kB / 269 MB, free: 4.414 MB / 250.7 MB Notification: Performance of Templates: time 0.008487/0.05797, allocations: 2.887 MB / 271.9 MB, free: 1.543 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.408928927965462]