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.0008946/0.0008946, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009/0.0009, allocations: 166.5 kB / 25.7 MB, free: 8.414 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.9165/0.9165, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.273e-06/1.273e-06, allocations: 0 / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.982e-05, allocations: 2.312 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002958/0.002978, allocations: 2.693 MB / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004651, allocations: 0.7601 MB / 255 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.004786, allocations: 8 kB / 255 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.528e-05/0.004881, allocations: 55.42 kB / 255 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.005059, allocations: 107 kB / 255.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.005408, allocations: 123.7 kB / 255.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.005806, allocations: 458.6 kB / 255.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.006029, allocations: 163.2 kB / 255.9 MB, free: 2.898 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.006329, allocations: 275.4 kB / 256.1 MB, free: 2.629 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.006488, allocations: 139.6 kB / 256.3 MB, free: 2.492 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.006535, allocations: 48 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.753e-05/0.006572, allocations: 44 kB / 256.4 MB, free: 2.402 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.00663, allocations: 103.6 kB / 256.5 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.006745, allocations: 155.6 kB / 256.6 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.007009, allocations: 318.9 kB / 256.9 MB, free: 1.836 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007012, allocations: 0 / 256.9 MB, free: 1.836 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.007013, allocations: 0 / 256.9 MB, free: 1.836 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.007018, allocations: 0 / 256.9 MB, free: 1.836 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.0006016/0.007619, allocations: 0.5936 MB / 257.5 MB, free: 1.215 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.00765, allocations: 15.98 kB / 257.5 MB, free: 1.199 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.007735, allocations: 68.88 kB / 257.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.007923, allocations: 181.9 kB / 257.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.007945, allocations: 33.38 kB / 257.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.007995, allocations: 44.38 kB / 257.9 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.008359, allocations: 0.5277 MB / 258.4 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.008372, allocations: 4.172 kB / 258.4 MB, free: 252 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.008397, allocations: 20.38 kB / 258.4 MB, free: 232 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.008407, allocations: 15.94 kB / 258.4 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.008552, allocations: 118.9 kB / 258.5 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.009559, allocations: 0.9036 MB / 259.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.009752, allocations: 150.3 kB / 259.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.009893, allocations: 124.7 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.009909, allocations: 4 kB / 259.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.009931, allocations: 38.56 kB / 259.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.009933, allocations: 0 / 259.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005547/0.01049, allocations: 322.6 kB / 260.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.01056, allocations: 235.3 kB / 260.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.01065, allocations: 178.5 kB / 260.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.01067, allocations: 33.7 kB / 260.5 MB, free: 13.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.01075, allocations: 204.4 kB / 260.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.0108, allocations: 111 kB / 260.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.01086, allocations: 65.66 kB / 260.9 MB, free: 13.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.01093, allocations: 330.8 kB / 261.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.01097, allocations: 27.98 kB / 261.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.01109, allocations: 288.7 kB / 261.5 MB, free: 12.87 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.01125, allocations: 169.1 kB / 261.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01125, allocations: 3.984 kB / 261.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001535/0.0114, allocations: 161.2 kB / 261.8 MB, free: 12.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01142, allocations: 4 kB / 261.8 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01142, allocations: 3.984 kB / 261.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.01143, allocations: 4 kB / 261.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.01161, allocations: 75.91 kB / 261.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01162, allocations: 7.938 kB / 261.9 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.01169, allocations: 27.83 kB / 262 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.0117, allocations: 8 kB / 262 MB, free: 12.4 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.0001189/0.01182, allocations: 129.8 kB / 262.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.01185, allocations: 27.97 kB / 262.1 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.01188, allocations: 26.66 kB / 262.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01189, allocations: 4 kB / 262.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.01189, allocations: 0 / 262.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.0119, allocations: 7.922 kB / 262.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.01234, allocations: 454 kB / 262.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01234, allocations: 0 / 262.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.01246, allocations: 52 kB / 262.6 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.01267, allocations: 96.53 kB / 262.7 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01269, allocations: 8 kB / 262.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008932/0.01358, allocations: 1.482 MB / 264.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01358, allocations: 4 kB / 264.2 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.01387, allocations: 338.4 kB / 264.6 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.01389, allocations: 31.81 kB / 264.6 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.01391, allocations: 4 kB / 264.6 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.01398, allocations: 12.11 kB / 264.6 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.01404, allocations: 31.83 kB / 264.6 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01404, allocations: 4 kB / 264.6 MB, free: 9.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.01408, allocations: 49.86 kB / 264.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01408, allocations: 0 / 264.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.01429, allocations: 103.7 kB / 264.8 MB, free: 9.418 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 9.5e-05/0.01438, allocations: 108.2 kB / 264.9 MB, free: 9.305 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.01454, allocations: 112.8 kB / 265 MB, free: 9.191 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.01455, allocations: 4 kB / 265 MB, free: 9.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.01476, allocations: 248.5 kB / 265.3 MB, free: 8.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.01491, allocations: 20 kB / 265.3 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.01553, allocations: 0.6302 MB / 265.9 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.01559, allocations: 100.3 kB / 266 MB, free: 8.129 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.01565, allocations: 21.94 kB / 266 MB, free: 8.105 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.01575, allocations: 99.36 kB / 266.1 MB, free: 8.008 MB / 250.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01575, allocations: 0 / 266.1 MB, free: 8.008 MB / 250.7 MB Notification: Performance of Templates: time 0.004887/0.02063, allocations: 3.039 MB / 269.2 MB, free: 4.984 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.654460708145052]