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.001139/0.001139, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.001171/0.001171, allocations: 157.8 kB / 24.99 MB, free: 8.25 MB / 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 1.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.59 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.813e-06/1.813e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.187e-05, allocations: 5.125 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004161/0.004193, allocations: 2.79 MB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.005471, allocations: 0.7516 MB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.005596, allocations: 4 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.687e-05/0.005693, allocations: 67.36 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.005886, allocations: 106.9 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.006248, allocations: 127.7 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.006607, allocations: 466.6 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.00685, allocations: 153.4 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.007148, allocations: 283.4 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.007297, allocations: 147.6 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.00734, allocations: 44 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.007415, allocations: 55.98 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.007469, allocations: 103.6 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.007572, allocations: 151.7 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.007874, allocations: 338.7 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007876, allocations: 0 / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007877, allocations: 0 / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.007883, allocations: 4 kB / 278.5 MB, free: 12.18 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.0006455/0.008528, allocations: 0.7145 MB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.008562, allocations: 15.98 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.008747, allocations: 92.64 kB / 279.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.008952, allocations: 216.7 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.008977, allocations: 37.38 kB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.009028, allocations: 52.27 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.009472, allocations: 0.5656 MB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.009486, allocations: 4.125 kB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.009512, allocations: 20.38 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.009524, allocations: 15.94 kB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.009766, allocations: 161.9 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.01107, allocations: 1.112 MB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.01131, allocations: 183.1 kB / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.01151, allocations: 139.5 kB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.01152, allocations: 8 kB / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.01155, allocations: 37.39 kB / 281.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.182e-06/0.01155, allocations: 4 kB / 281.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007182/0.01227, allocations: 405.9 kB / 282.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.01234, allocations: 239.3 kB / 282.5 MB, free: 7.879 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.01246, allocations: 229.9 kB / 282.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01247, allocations: 29.7 kB / 282.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.01257, allocations: 255.2 kB / 283 MB, free: 7.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.01262, allocations: 107.1 kB / 283.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.01269, allocations: 67.34 kB / 283.2 MB, free: 7.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.0128, allocations: 0.504 MB / 283.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.01286, allocations: 43.97 kB / 283.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.01302, allocations: 332.5 kB / 284.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.01319, allocations: 153.1 kB / 284.2 MB, free: 6.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01319, allocations: 0 / 284.2 MB, free: 6.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000229/0.01342, allocations: 217.3 kB / 284.4 MB, free: 5.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01343, allocations: 7.125 kB / 284.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01344, allocations: 3.984 kB / 284.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01345, allocations: 12 kB / 284.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.01364, allocations: 71.91 kB / 284.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01364, allocations: 4 kB / 284.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.01372, allocations: 35.77 kB / 284.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01373, allocations: 8 kB / 284.6 MB, free: 5.684 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.901e-05/0.01382, allocations: 176.5 kB / 284.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.01385, allocations: 31.86 kB / 284.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.01389, allocations: 30.64 kB / 284.8 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01389, allocations: 11.88 kB / 284.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01389, allocations: 4 kB / 284.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.0139, allocations: 0 / 284.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.01444, allocations: 0.6234 MB / 285.4 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01445, allocations: 0 / 285.4 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.01458, allocations: 47.91 kB / 285.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.01484, allocations: 95.59 kB / 285.6 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01485, allocations: 4 kB / 285.6 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.01602, allocations: 2.131 MB / 287.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.01603, allocations: 3.938 kB / 287.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.01642, allocations: 463.6 kB / 288.2 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.01644, allocations: 23.8 kB / 288.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.01646, allocations: 15.92 kB / 288.2 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.01654, allocations: 8 kB / 288.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.01658, allocations: 28 kB / 288.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01659, allocations: 4 kB / 288.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.0169, allocations: 172.2 kB / 288.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0169, allocations: 0 / 288.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.01712, allocations: 111.7 kB / 288.5 MB, free: 1.504 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 8.34e-05/0.01721, allocations: 107.1 kB / 288.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.0174, allocations: 151.5 kB / 288.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0174, allocations: 0 / 288.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.01765, allocations: 316.8 kB / 289.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01788, allocations: 36.56 kB / 289.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.01863, allocations: 0.7243 MB / 289.8 MB, free: 116 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.01869, allocations: 96.3 kB / 289.9 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.01875, allocations: 25.92 kB / 290 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.01879, allocations: 20.5 kB / 290 MB, free: 15.95 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01879, allocations: 0 / 290 MB, free: 15.95 MB / 282.7 MB Notification: Performance of Templates: time 0.004823/0.02361, allocations: 3.124 MB / 293.1 MB, free: 12.86 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.857316707028076]