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.0009793/0.0009793, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009689/0.0009689, allocations: 171.3 kB / 25.7 MB, free: 8.449 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.9431/0.9431, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.282e-06/1.282e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.24e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00248/0.002493, allocations: 2.066 MB / 253.6 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.003274, allocations: 0.6123 MB / 254.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.003335, allocations: 4 kB / 254.3 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.544e-05/0.00338, allocations: 19.8 kB / 254.3 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.003501, allocations: 51.56 kB / 254.3 MB, free: 4.434 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.003733, allocations: 87.73 kB / 254.4 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.003883, allocations: 195.2 kB / 254.6 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003985, allocations: 30.31 kB / 254.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.004151, allocations: 119.7 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.004227, allocations: 55.81 kB / 254.8 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.004252, allocations: 23.98 kB / 254.8 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.00427, allocations: 16 kB / 254.8 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.004297, allocations: 27.92 kB / 254.9 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.004338, allocations: 55.83 kB / 254.9 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.004483, allocations: 127.5 kB / 255 MB, free: 3.707 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004484, allocations: 0 / 255 MB, free: 3.707 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004485, allocations: 0 / 255 MB, free: 3.707 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.004489, allocations: 3.938 kB / 255.1 MB, free: 3.703 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.0004347/0.004923, allocations: 372.1 kB / 255.4 MB, free: 3.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.004954, allocations: 15.98 kB / 255.4 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.004989, allocations: 12.92 kB / 255.4 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.005091, allocations: 137.5 kB / 255.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.005102, allocations: 8.375 kB / 255.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.005124, allocations: 12.38 kB / 255.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.005309, allocations: 176.8 kB / 255.8 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.005319, allocations: 192 / 255.8 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.005338, allocations: 8.375 kB / 255.8 MB, free: 2.898 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005345, allocations: 7.938 kB / 255.8 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/0.005396, allocations: 27.84 kB / 255.8 MB, free: 2.863 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.005838, allocations: 330.9 kB / 256.1 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/0.005917, allocations: 46.55 kB / 256.2 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.005979, allocations: 32.84 kB / 256.2 MB, free: 2.426 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.005991, allocations: 3.984 kB / 256.2 MB, free: 2.422 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.006012, allocations: 38.56 kB / 256.3 MB, free: 2.375 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.006012, allocations: 0 / 256.3 MB, free: 2.375 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001251/0.006138, allocations: 65.61 kB / 256.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.006173, allocations: 106.8 kB / 256.4 MB, free: 2.176 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.006249, allocations: 150.8 kB / 256.6 MB, free: 2.016 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.00626, allocations: 25.7 kB / 256.6 MB, free: 1.984 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.00631, allocations: 119.9 kB / 256.7 MB, free: 1.863 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.006328, allocations: 27.8 kB / 256.7 MB, free: 1.836 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.006606, allocations: 29.69 kB / 256.8 MB, free: 1.801 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.006695, allocations: 322.8 kB / 257.1 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.006727, allocations: 12 kB / 257.1 MB, free: 1.465 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.006795, allocations: 99.67 kB / 257.2 MB, free: 1.34 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.474e-05/0.00687, allocations: 54.41 kB / 257.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.006872, allocations: 0 / 257.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001248/0.006996, allocations: 81.59 kB / 257.3 MB, free: 1.191 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.007009, allocations: 4 kB / 257.3 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007013, allocations: 0 / 257.3 MB, free: 1.188 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.007028, allocations: 4 kB / 257.3 MB, free: 1.184 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.007449, allocations: 83.97 kB / 257.4 MB, free: 1.102 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009297/0.008379, allocations: 1.276 MB / 258.7 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/0.008469, allocations: 24.09 kB / 258.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.008478, allocations: 0 / 258.7 MB, free: 15.71 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 7.996e-05/0.008557, allocations: 113.8 kB / 258.8 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.008584, allocations: 7.984 kB / 258.8 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.008768, allocations: 107.1 kB / 258.9 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00877, allocations: 0 / 258.9 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-07/0.008771, allocations: 0 / 258.9 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.008775, allocations: 0 / 258.9 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.009138, allocations: 280.3 kB / 259.2 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.00914, allocations: 0 / 259.2 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.009253, allocations: 23.97 kB / 259.2 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/0.009451, allocations: 36.83 kB / 259.3 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.009459, allocations: 4.031 kB / 259.3 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007783/0.01024, allocations: 1.17 MB / 260.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.01024, allocations: 7.938 kB / 260.5 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.01049, allocations: 209.2 kB / 260.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.0105, allocations: 11.91 kB / 260.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.01052, allocations: 7.922 kB / 260.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.01062, allocations: 8 kB / 260.7 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.01066, allocations: 7.984 kB / 260.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.01067, allocations: 4 kB / 260.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.01071, allocations: 33.62 kB / 260.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01071, allocations: 4 kB / 260.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.01097, allocations: 39.95 kB / 260.8 MB, free: 13.49 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 9.555e-05/0.01107, allocations: 88.33 kB / 260.9 MB, free: 13.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.01141, allocations: 88.7 kB / 260.9 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.01141, allocations: 4 kB / 260.9 MB, free: 13.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.01158, allocations: 146.5 kB / 261.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.01176, allocations: 16.11 kB / 261.1 MB, free: 13.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.01276, allocations: 420.4 kB / 261.5 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.01281, allocations: 71.33 kB / 261.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.01286, allocations: 8.5 kB / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.01297, allocations: 71.34 kB / 261.7 MB, free: 12.52 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01297, allocations: 0 / 261.7 MB, free: 12.52 MB / 250.7 MB Notification: Performance of Templates: time 0.004753/0.01772, allocations: 1.908 MB / 263.6 MB, free: 10.62 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 -s gbode -gbm=radauIIA3 -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.5315932678058743]