Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001451/0.001451, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.001527/0.001527, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9776/0.9776, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.552e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002525/0.00254, allocations: 2.801 MB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.003414, allocations: 0.7515 MB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.0035, allocations: 8 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.041e-05/0.00359, allocations: 63.34 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.003736, allocations: 107 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.004029, allocations: 131.7 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.00433, allocations: 458.6 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.004531, allocations: 153.4 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.004772, allocations: 283.4 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.004913, allocations: 151.5 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.004956, allocations: 48 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.232e-05/0.005029, allocations: 51.98 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.005079, allocations: 103.7 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.005174, allocations: 155.7 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.005446, allocations: 330.7 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005448, allocations: 0 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005448, allocations: 0 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005453, allocations: 3.984 kB / 278.5 MB, free: 11.85 MB / 266.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.0006533/0.006107, allocations: 0.7223 MB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.006139, allocations: 11.98 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.006316, allocations: 92.64 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.006518, allocations: 220.7 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.006541, allocations: 33.38 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.006593, allocations: 48.33 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.007039, allocations: 0.5733 MB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.007052, allocations: 192 / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.007075, allocations: 16.38 kB / 280.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.007086, allocations: 15.88 kB / 280.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.007322, allocations: 165.9 kB / 280.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.008352, allocations: 1.108 MB / 281.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.008598, allocations: 179.2 kB / 281.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.008791, allocations: 147.5 kB / 281.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.008811, allocations: 4 kB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.008835, allocations: 45.33 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.008837, allocations: 0 / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007079/0.009545, allocations: 402 kB / 282.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.009619, allocations: 239.3 kB / 282.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.009736, allocations: 229.9 kB / 282.7 MB, free: 7.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.009753, allocations: 33.7 kB / 282.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.009856, allocations: 255.2 kB / 283 MB, free: 7.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.009905, allocations: 103.1 kB / 283.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.009968, allocations: 67.34 kB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.01008, allocations: 0.504 MB / 283.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.01015, allocations: 43.97 kB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.01031, allocations: 328.5 kB / 284 MB, free: 5.871 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.01047, allocations: 153.1 kB / 284.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01047, allocations: 3.938 kB / 284.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002258/0.0107, allocations: 217.3 kB / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01071, allocations: 11.12 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01072, allocations: 0 / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01073, allocations: 8 kB / 284.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.0109, allocations: 79.89 kB / 284.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01091, allocations: 4 kB / 284.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.01098, allocations: 31.78 kB / 284.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.01099, allocations: 4 kB / 284.5 MB, free: 5.355 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 8.944e-05/0.01108, allocations: 176.5 kB / 284.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.01112, allocations: 31.86 kB / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.01115, allocations: 30.64 kB / 284.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01116, allocations: 7.938 kB / 284.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.01116, allocations: 4 kB / 284.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01117, allocations: 4 kB / 284.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.01171, allocations: 0.6234 MB / 285.4 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01171, allocations: 4 kB / 285.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.01184, allocations: 51.91 kB / 285.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.01208, allocations: 91.59 kB / 285.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.01209, allocations: 11.98 kB / 285.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.01327, allocations: 2.131 MB / 287.6 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01327, allocations: 3.938 kB / 287.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.0137, allocations: 459.6 kB / 288.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01372, allocations: 23.78 kB / 288.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01374, allocations: 11.94 kB / 288.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.01381, allocations: 8 kB / 288.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.01386, allocations: 27.95 kB / 288.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01387, allocations: 11.98 kB / 288.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.891e-05/0.01392, allocations: 164.2 kB / 288.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01392, allocations: 0 / 288.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.01414, allocations: 115.8 kB / 288.5 MB, free: 1.168 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 7.107e-05/0.01421, allocations: 99.19 kB / 288.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.01442, allocations: 155.5 kB / 288.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01442, allocations: 0 / 288.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.01467, allocations: 308.8 kB / 289 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01489, allocations: 41.42 kB / 289 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.01558, allocations: 0.7204 MB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.01576, allocations: 100.3 kB / 289.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.945e-05/0.01581, allocations: 25.92 kB / 289.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.01585, allocations: 20.5 kB / 289.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01585, allocations: 0 / 289.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of Templates: time 0.004372/0.02023, allocations: 3.12 MB / 293 MB, free: 12.53 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8076266339048743]