Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 150.1 kB / 24.81 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9171/0.9171, allocations: 173.4 MB / 201.4 MB, free: 9.184 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.999e-05, allocations: 2.312 kB / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004267/0.004287, allocations: 2.747 MB / 271.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.005649, allocations: 0.7126 MB / 271.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.005798, allocations: 8 kB / 271.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.005932, allocations: 59.36 kB / 271.9 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.006231, allocations: 107 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.006607, allocations: 123.7 kB / 272.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.007115, allocations: 466.6 kB / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.007392, allocations: 153.2 kB / 272.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.007788, allocations: 279.4 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.00802, allocations: 151.5 kB / 273.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.008084, allocations: 44 kB / 273.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-05/0.00815, allocations: 48 kB / 273.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.008226, allocations: 103.7 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.008368, allocations: 151.7 kB / 273.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.008722, allocations: 318.9 kB / 273.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.008724, allocations: 0 / 273.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.008725, allocations: 0 / 273.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.00873, allocations: 0 / 273.8 MB, free: 0.7188 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.0009371/0.009667, allocations: 0.7223 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.009707, allocations: 12.03 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.009817, allocations: 80.66 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.01008, allocations: 224.6 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.01011, allocations: 29.38 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.01018, allocations: 52.36 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.01072, allocations: 0.5342 MB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.01073, allocations: 4.141 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.01077, allocations: 16.38 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01078, allocations: 15.94 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.01116, allocations: 138.9 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.01267, allocations: 1.07 MB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.01296, allocations: 170 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.01319, allocations: 123.6 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.01321, allocations: 8 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.01324, allocations: 45.38 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.01325, allocations: 4 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009772/0.01422, allocations: 361.3 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.01432, allocations: 243.2 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.01447, allocations: 237.8 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.0145, allocations: 29.7 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01463, allocations: 255.2 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.01471, allocations: 111 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.01481, allocations: 67.33 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01496, allocations: 0.5079 MB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.01502, allocations: 31.97 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.01544, allocations: 316.4 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.01563, allocations: 135.7 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.01563, allocations: 4 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002977/0.01593, allocations: 197.2 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01595, allocations: 8 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.01595, allocations: 4 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01597, allocations: 4 kB / 279.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.01625, allocations: 83.88 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01626, allocations: 11.88 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01638, allocations: 31.84 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.0164, allocations: 11.98 kB / 279.7 MB, free: 10.43 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 0.0001114/0.01651, allocations: 172.5 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.01656, allocations: 31.86 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.01661, allocations: 30.66 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01662, allocations: 0 / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.01663, allocations: 7.938 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01663, allocations: 3.984 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.01736, allocations: 0.5537 MB / 280.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01736, allocations: 0 / 280.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.01757, allocations: 55.94 kB / 280.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/0.01785, allocations: 83.61 kB / 280.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.01787, allocations: 11.94 kB / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.01939, allocations: 2.088 MB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.0194, allocations: 4 kB / 282.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.01991, allocations: 439.3 kB / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.01994, allocations: 31.83 kB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.01996, allocations: 4 kB / 283.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.0201, allocations: 12 kB / 283.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.02015, allocations: 31.88 kB / 283.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.02017, allocations: 8.062 kB / 283.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.02025, allocations: 152.2 kB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02025, allocations: 0 / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.02065, allocations: 111.7 kB / 283.5 MB, free: 6.418 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 0.0001015/0.02075, allocations: 107.2 kB / 283.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.02099, allocations: 135.5 kB / 283.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02099, allocations: 0 / 283.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.02132, allocations: 298.1 kB / 284 MB, free: 5.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.02169, allocations: 46.56 kB / 284 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.02267, allocations: 0.7127 MB / 284.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.582e-05/0.02275, allocations: 100.3 kB / 284.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.02283, allocations: 25.94 kB / 284.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.02301, allocations: 126.2 kB / 285 MB, free: 4.793 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02301, allocations: 0 / 285 MB, free: 4.793 MB / 266.7 MB Notification: Performance of Templates: time 0.007156/0.03017, allocations: 3.308 MB / 288.3 MB, free: 1.523 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.756223796866834]