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.0009552/0.0009552, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001309/0.001309, allocations: 158.9 kB / 25.75 MB, free: 8.949 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 0.829/0.829, allocations: 158.6 MB / 187.5 MB, free: 2.949 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 1.714e-06/1.714e-06, allocations: 0 / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.032e-05, allocations: 2.312 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.0039/0.00392, allocations: 2.717 MB / 253.8 MB, free: 5.078 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.005133, allocations: 0.7409 MB / 254.6 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.005267, allocations: 12 kB / 254.6 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.005399, allocations: 67.36 kB / 254.6 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.005759, allocations: 95 kB / 254.7 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.006146, allocations: 131.7 kB / 254.9 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.006606, allocations: 442.7 kB / 255.3 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.006909, allocations: 157.2 kB / 255.4 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.007251, allocations: 283.4 kB / 255.7 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.007475, allocations: 147.6 kB / 255.9 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.007549, allocations: 44 kB / 255.9 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.007611, allocations: 44 kB / 256 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.007697, allocations: 103.6 kB / 256.1 MB, free: 2.824 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.007857, allocations: 147.7 kB / 256.2 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.00826, allocations: 314.9 kB / 256.5 MB, free: 2.371 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.008263, allocations: 0 / 256.5 MB, free: 2.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008264, allocations: 0 / 256.5 MB, free: 2.371 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.008271, allocations: 0 / 256.5 MB, free: 2.371 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.001059/0.00933, allocations: 0.7184 MB / 257.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.009389, allocations: 11.98 kB / 257.2 MB, free: 1.602 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.009532, allocations: 80.66 kB / 257.3 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.009837, allocations: 224.6 kB / 257.5 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.009871, allocations: 33.38 kB / 257.6 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.009947, allocations: 48.38 kB / 257.6 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.01066, allocations: 0.5694 MB / 258.2 MB, free: 0.543 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.01068, allocations: 4.125 kB / 258.2 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.01072, allocations: 16.38 kB / 258.2 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.01073, allocations: 15.94 kB / 258.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.01114, allocations: 161.9 kB / 258.4 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.01285, allocations: 1.108 MB / 259.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.01323, allocations: 179.2 kB / 259.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.01353, allocations: 143.5 kB / 259.8 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.01356, allocations: 4 kB / 259.8 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.01359, allocations: 37.39 kB / 259.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.01359, allocations: 0 / 259.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001162/0.01475, allocations: 405.2 kB / 260.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.01484, allocations: 235.3 kB / 260.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.01501, allocations: 229.8 kB / 260.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.01504, allocations: 37.7 kB / 260.7 MB, free: 13.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.01519, allocations: 259.2 kB / 261 MB, free: 13.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.01526, allocations: 103.1 kB / 261.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.01536, allocations: 63.36 kB / 261.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.01551, allocations: 0.5079 MB / 261.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.01562, allocations: 39.97 kB / 261.7 MB, free: 12.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.01585, allocations: 332.9 kB / 262 MB, free: 12.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.01622, allocations: 213.6 kB / 262.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01623, allocations: 0 / 262.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003713/0.0166, allocations: 217.2 kB / 262.4 MB, free: 11.97 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01662, allocations: 8 kB / 262.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01662, allocations: 7.922 kB / 262.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01664, allocations: 12 kB / 262.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.01693, allocations: 71.91 kB / 262.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.01694, allocations: 4 kB / 262.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.01706, allocations: 31.83 kB / 262.6 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.01708, allocations: 8 kB / 262.6 MB, free: 11.83 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.0002093/0.01729, allocations: 180.5 kB / 262.8 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.01735, allocations: 31.86 kB / 262.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.0174, allocations: 34.64 kB / 262.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.01741, allocations: 7.938 kB / 262.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.01742, allocations: 0 / 262.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01743, allocations: 0 / 262.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008577/0.01828, allocations: 0.6234 MB / 263.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01829, allocations: 0 / 263.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.0185, allocations: 43.97 kB / 263.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003585/0.01886, allocations: 107.5 kB / 263.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.01888, allocations: 7.984 kB / 263.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.02092, allocations: 2.131 MB / 265.7 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.02093, allocations: 7.938 kB / 265.7 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.02152, allocations: 448.7 kB / 266.2 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.02154, allocations: 27.77 kB / 266.2 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.02158, allocations: 12.06 kB / 266.2 MB, free: 7.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.02171, allocations: 8 kB / 266.2 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.02176, allocations: 23.95 kB / 266.2 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.02178, allocations: 16.02 kB / 266.3 MB, free: 7.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.825e-05/0.02188, allocations: 168.2 kB / 266.4 MB, free: 7.758 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02188, allocations: 0 / 266.4 MB, free: 7.758 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000388/0.02227, allocations: 107.7 kB / 266.5 MB, free: 7.652 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.0001204/0.02239, allocations: 107.2 kB / 266.6 MB, free: 7.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.02269, allocations: 151.4 kB / 266.8 MB, free: 7.387 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02269, allocations: 0 / 266.8 MB, free: 7.387 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.02304, allocations: 322.7 kB / 267.1 MB, free: 7.051 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.02323, allocations: 31.88 kB / 267.1 MB, free: 7.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007153/0.02394, allocations: 0.7089 MB / 267.8 MB, free: 6.273 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.024, allocations: 96.3 kB / 267.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.02405, allocations: 21.94 kB / 268 MB, free: 6.137 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.02409, allocations: 20.5 kB / 268 MB, free: 6.117 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02409, allocations: 0 / 268 MB, free: 6.117 MB / 250.7 MB Notification: Performance of Templates: time 0.004467/0.02856, allocations: 2.898 MB / 270.9 MB, free: 3.234 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","",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.8075868950691074]