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.0009146/0.0009146, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002299, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000929/0.000929, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009748/0.001904, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9727/0.9727, allocations: 177.5 MB / 190 MB, free: 4.734 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08085/1.054, allocations: 53.87 MB / 243.9 MB, free: 14.79 MB / 250.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.533e-06/1.533e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.949e-05, allocations: 2.312 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002771/0.00279, allocations: 2.819 MB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003984, allocations: 0.7786 MB / 248.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.004095, allocations: 4 kB / 248.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.674e-05/0.004192, allocations: 71.34 kB / 248.9 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.004348, allocations: 99 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.004605, allocations: 135.6 kB / 249.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.004946, allocations: 454.8 kB / 249.6 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.005167, allocations: 163.3 kB / 249.7 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.005568, allocations: 311.1 kB / 250 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.005738, allocations: 147.6 kB / 250.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.005782, allocations: 44 kB / 250.2 MB, free: 8.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.00588, allocations: 52 kB / 250.3 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.00593, allocations: 75.75 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.006017, allocations: 127.8 kB / 250.5 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.006303, allocations: 306.9 kB / 250.8 MB, free: 7.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.006314, allocations: 0 / 250.8 MB, free: 7.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006315, allocations: 4 kB / 250.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.006326, allocations: 0 / 250.8 MB, free: 7.93 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.0006805/0.007006, allocations: 0.6909 MB / 251.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.007035, allocations: 8.031 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.007231, allocations: 158 kB / 251.6 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.007441, allocations: 181.9 kB / 251.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.007463, allocations: 29.38 kB / 251.8 MB, free: 6.797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.007519, allocations: 48.38 kB / 251.9 MB, free: 6.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.007907, allocations: 0.5277 MB / 252.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.007921, allocations: 192 / 252.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.007943, allocations: 16.38 kB / 252.4 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.007954, allocations: 15.94 kB / 252.4 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.008096, allocations: 114.9 kB / 252.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.009308, allocations: 0.9152 MB / 253.4 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.009506, allocations: 154.7 kB / 253.6 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.009649, allocations: 121.4 kB / 253.7 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.009667, allocations: 4 kB / 253.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.009692, allocations: 42.5 kB / 253.8 MB, free: 4.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.375e-06/0.009695, allocations: 0 / 253.8 MB, free: 4.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005739/0.01027, allocations: 323.4 kB / 254.1 MB, free: 4.371 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.01029, allocations: 59.34 kB / 254.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.01039, allocations: 179.3 kB / 254.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.01041, allocations: 29.7 kB / 254.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.01049, allocations: 200.5 kB / 254.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.01054, allocations: 107 kB / 254.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.0106, allocations: 65.66 kB / 254.7 MB, free: 3.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.01068, allocations: 334.8 kB / 255 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.01072, allocations: 27.97 kB / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.01085, allocations: 288.2 kB / 255.3 MB, free: 2.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01097, allocations: 135 kB / 255.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01097, allocations: 0 / 255.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001639/0.01114, allocations: 157.4 kB / 255.6 MB, free: 2.684 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01115, allocations: 4 kB / 255.6 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01116, allocations: 4 kB / 255.6 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01117, allocations: 0 / 255.6 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.01146, allocations: 115.8 kB / 255.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.01146, allocations: 4 kB / 255.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.01154, allocations: 27.78 kB / 255.8 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01155, allocations: 8 kB / 255.8 MB, free: 2.523 MB / 250.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.274e-05/0.01163, allocations: 133.8 kB / 255.9 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.01166, allocations: 27.91 kB / 255.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.0117, allocations: 30.66 kB / 256 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.0117, allocations: 4 kB / 256 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01171, allocations: 4 kB / 256 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01171, allocations: 3.984 kB / 256 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.01215, allocations: 447 kB / 256.4 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01216, allocations: 0 / 256.4 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.01232, allocations: 67.92 kB / 256.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.01234, allocations: 27.78 kB / 256.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.01254, allocations: 80.78 kB / 256.6 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.01256, allocations: 8 kB / 256.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009044/0.01346, allocations: 1.468 MB / 258.1 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01347, allocations: 4 kB / 258.1 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01376, allocations: 362.2 kB / 258.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.01378, allocations: 8 kB / 258.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.01386, allocations: 11.98 kB / 258.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.0139, allocations: 23.95 kB / 258.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01391, allocations: 8 kB / 258.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.342e-05/0.01394, allocations: 52.98 kB / 258.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01394, allocations: 0 / 258.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.01416, allocations: 111.7 kB / 258.6 MB, free: 15.52 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 9.394e-05/0.01425, allocations: 84.36 kB / 258.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.01442, allocations: 137.3 kB / 258.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.01443, allocations: 4 kB / 258.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.01465, allocations: 246.6 kB / 259.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01495, allocations: 380.6 kB / 259.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.01651, allocations: 0.6746 MB / 260.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.051e-05/0.01657, allocations: 108.1 kB / 260.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.01663, allocations: 25.94 kB / 260.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.01676, allocations: 111.3 kB / 260.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01676, allocations: 0 / 260.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Templates: time 0.005785/0.02255, allocations: 3.888 MB / 264.3 MB, free: 9.77 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6121771316975355]