Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001527/0.001527, allocations: 85.08 kB / 23 MB, free: 1.504 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.002014/0.002014, allocations: 173.1 kB / 26.39 MB, free: 8 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.9382/0.9382, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.758e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003456/0.003483, allocations: 2.011 MB / 254.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.004499, allocations: 0.6046 MB / 254.9 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.004586, allocations: 0 / 254.9 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.373e-05/0.00465, allocations: 23.78 kB / 254.9 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.004811, allocations: 51.56 kB / 255 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.005117, allocations: 83.75 kB / 255 MB, free: 4.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.005337, allocations: 195.2 kB / 255.2 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.005465, allocations: 33.66 kB / 255.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.005688, allocations: 115.7 kB / 255.4 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.005781, allocations: 51.81 kB / 255.4 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.00581, allocations: 16 kB / 255.4 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.301e-05/0.005833, allocations: 16 kB / 255.5 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.005868, allocations: 43.83 kB / 255.5 MB, free: 3.973 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.005926, allocations: 59.83 kB / 255.6 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.006101, allocations: 123.5 kB / 255.7 MB, free: 3.793 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006104, allocations: 0 / 255.7 MB, free: 3.793 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006105, allocations: 0 / 255.7 MB, free: 3.793 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.00611, allocations: 0 / 255.7 MB, free: 3.793 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005752/0.006685, allocations: 495.7 kB / 256.2 MB, free: 3.273 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.006724, allocations: 15.98 kB / 256.2 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.006779, allocations: 24.84 kB / 256.2 MB, free: 3.234 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.0069, allocations: 136.4 kB / 256.3 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.006914, allocations: 8.375 kB / 256.3 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.006943, allocations: 12.38 kB / 256.4 MB, free: 3.055 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.007181, allocations: 177.3 kB / 256.5 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.00719, allocations: 192 / 256.5 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.007207, allocations: 8.375 kB / 256.5 MB, free: 2.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007214, allocations: 3.938 kB / 256.5 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.007283, allocations: 47.73 kB / 256.6 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006342/0.007917, allocations: 443 kB / 257 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.008029, allocations: 58.97 kB / 257.1 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.008111, allocations: 39.81 kB / 257.1 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.008123, allocations: 0 / 257.1 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.008147, allocations: 41.33 kB / 257.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.008148, allocations: 0 / 257.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002088/0.008357, allocations: 81.62 kB / 257.2 MB, free: 2.07 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.008406, allocations: 102.8 kB / 257.3 MB, free: 1.945 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.008543, allocations: 213.7 kB / 257.5 MB, free: 1.719 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.008563, allocations: 29.69 kB / 257.6 MB, free: 1.684 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.008646, allocations: 170.6 kB / 257.7 MB, free: 1.512 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.00867, allocations: 23.73 kB / 257.8 MB, free: 1.488 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.008728, allocations: 43.34 kB / 257.8 MB, free: 1.438 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.008855, allocations: 0.4923 MB / 258.3 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.008891, allocations: 11.98 kB / 258.3 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.008971, allocations: 113.8 kB / 258.4 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.333e-05/0.009054, allocations: 59.08 kB / 258.5 MB, free: 0.707 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009056, allocations: 0 / 258.5 MB, free: 0.707 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001528/0.009209, allocations: 93.55 kB / 258.6 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.009224, allocations: 8 kB / 258.6 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.009229, allocations: 0 / 258.6 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.009238, allocations: 0 / 258.6 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.009613, allocations: 83.86 kB / 258.7 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.01075, allocations: 1.866 MB / 260.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.01085, allocations: 15.98 kB / 260.5 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.01086, allocations: 0 / 260.5 MB, free: 14.52 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/0.01095, allocations: 164.7 kB / 260.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.01099, allocations: 19.91 kB / 260.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.0112, allocations: 110.4 kB / 260.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01121, allocations: 11.94 kB / 260.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01121, allocations: 0 / 260.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01121, allocations: 0 / 260.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.01164, allocations: 377.2 kB / 261.2 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01164, allocations: 4.031 kB / 261.2 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.01173, allocations: 23.92 kB / 261.2 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/0.01192, allocations: 47.64 kB / 261.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01193, allocations: 3.984 kB / 261.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/0.01278, allocations: 1.713 MB / 263 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.01279, allocations: 7.938 kB / 263 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.01305, allocations: 271.1 kB / 263.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.01306, allocations: 7.953 kB / 263.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01309, allocations: 12.03 kB / 263.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.01318, allocations: 15.98 kB / 263.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.01321, allocations: 7.984 kB / 263.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01322, allocations: 7.984 kB / 263.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.01329, allocations: 152 kB / 263.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01329, allocations: 0 / 263.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01358, allocations: 43.89 kB / 263.5 MB, free: 11.34 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.01368, allocations: 95.25 kB / 263.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.01404, allocations: 99.53 kB / 263.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01404, allocations: 0 / 263.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.01422, allocations: 204.5 kB / 263.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01446, allocations: 12 kB / 263.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009646/0.01542, allocations: 430.4 kB / 264.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01547, allocations: 67.34 kB / 264.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.787e-05/0.01552, allocations: 16.42 kB / 264.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01562, allocations: 98.11 kB / 264.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01562, allocations: 0 / 264.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of Templates: time 0.004346/0.01996, allocations: 1.952 MB / 266.5 MB, free: 8.297 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.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.8538183351047337]