Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001103/0.001103, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002717, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001108/0.001108, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002488, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9356/0.9356, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08592/1.022, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.274e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002613/0.002625, allocations: 2.824 MB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.003394, allocations: 0.7786 MB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.003471, allocations: 4 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.012e-05/0.003552, allocations: 67.41 kB / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.003668, allocations: 103 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.003857, allocations: 131.7 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.004148, allocations: 458.6 kB / 248.9 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.004336, allocations: 163.3 kB / 249 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.004581, allocations: 303.3 kB / 249.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.004723, allocations: 151.5 kB / 249.5 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.004773, allocations: 44 kB / 249.5 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.00486, allocations: 52 kB / 249.6 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.004906, allocations: 75.75 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.004992, allocations: 135.7 kB / 249.8 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.005249, allocations: 299 kB / 250.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.005264, allocations: 0 / 250.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005264, allocations: 0 / 250.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.005279, allocations: 0 / 250.1 MB, free: 8.754 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.0006613/0.00594, allocations: 0.6909 MB / 250.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.00597, allocations: 8.031 kB / 250.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.006163, allocations: 154 kB / 250.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.006332, allocations: 181.9 kB / 251.1 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.00635, allocations: 29.38 kB / 251.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.006396, allocations: 52.36 kB / 251.2 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.006726, allocations: 0.5238 MB / 251.7 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.006738, allocations: 192 / 251.7 MB, free: 6.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.006759, allocations: 16.38 kB / 251.7 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.006769, allocations: 19.94 kB / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.006905, allocations: 114.9 kB / 251.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009389/0.007844, allocations: 0.9153 MB / 252.8 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.00812, allocations: 156.9 kB / 252.9 MB, free: 5.699 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.008271, allocations: 116.8 kB / 253 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.008294, allocations: 11.97 kB / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.008322, allocations: 34.56 kB / 253.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.432e-06/0.008324, allocations: 4 kB / 253.1 MB, free: 5.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006226/0.008946, allocations: 335.2 kB / 253.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.00898, allocations: 55.41 kB / 253.5 MB, free: 5.121 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.009084, allocations: 175 kB / 253.6 MB, free: 4.938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.009107, allocations: 33.7 kB / 253.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.009201, allocations: 200.5 kB / 253.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.009263, allocations: 107 kB / 254 MB, free: 4.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.009325, allocations: 61.67 kB / 254 MB, free: 4.527 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.009419, allocations: 330.8 kB / 254.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.009454, allocations: 27.98 kB / 254.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.009567, allocations: 292.2 kB / 254.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.00967, allocations: 128.6 kB / 254.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009672, allocations: 0 / 254.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001342/0.009807, allocations: 153.5 kB / 254.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.009818, allocations: 8 kB / 254.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.009822, allocations: 0 / 254.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.009829, allocations: 0 / 254.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.01007, allocations: 114.5 kB / 255 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.01008, allocations: 8.062 kB / 255.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.01014, allocations: 31.77 kB / 255.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01015, allocations: 8 kB / 255.1 MB, free: 3.355 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 7.089e-05/0.01022, allocations: 129.8 kB / 255.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.01025, allocations: 31.91 kB / 255.3 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.01028, allocations: 26.66 kB / 255.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01028, allocations: 4 kB / 255.3 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01029, allocations: 7.938 kB / 255.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01029, allocations: 3.984 kB / 255.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.01069, allocations: 449.9 kB / 255.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01069, allocations: 0 / 255.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.01084, allocations: 63.94 kB / 255.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.01086, allocations: 23.8 kB / 255.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.01105, allocations: 88.75 kB / 255.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01106, allocations: 4 kB / 255.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008211/0.01188, allocations: 1.491 MB / 257.4 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01188, allocations: 3.938 kB / 257.4 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.01213, allocations: 334 kB / 257.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.01215, allocations: 11.94 kB / 257.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.01222, allocations: 8 kB / 257.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.01225, allocations: 23.95 kB / 257.8 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01226, allocations: 16.05 kB / 257.8 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.0123, allocations: 49.84 kB / 257.8 MB, free: 468 kB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0123, allocations: 0 / 257.8 MB, free: 468 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01248, allocations: 111.7 kB / 257.9 MB, free: 356 kB / 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 6.773e-05/0.01255, allocations: 84.39 kB / 258 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.01268, allocations: 125 kB / 258.2 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.01269, allocations: 4 kB / 258.2 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.01293, allocations: 238.5 kB / 258.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.01312, allocations: 67.77 kB / 258.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.01426, allocations: 0.6707 MB / 259.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.6e-05/0.01432, allocations: 112.1 kB / 259.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.01437, allocations: 21.95 kB / 259.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.01448, allocations: 107.3 kB / 259.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01448, allocations: 0 / 259.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Templates: time 0.005211/0.01969, allocations: 3.772 MB / 263.1 MB, free: 11.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5631451345980167]