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.001526/0.001526, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.001601/0.001601, allocations: 160.5 kB / 25.02 MB, free: 9.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 1.496/1.496, allocations: 158.6 MB / 186.8 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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 2.204e-06/2.204e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.092e-05/4.312e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.005473/0.005516, allocations: 1.928 MB / 252.3 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.007399, allocations: 0.5813 MB / 252.9 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.007494, allocations: 7.938 kB / 252.9 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.517e-05/0.007579, allocations: 19.78 kB / 252.9 MB, free: 1.379 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.007815, allocations: 51.62 kB / 252.9 MB, free: 1.328 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.008334, allocations: 99.66 kB / 253 MB, free: 1.23 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.0087, allocations: 191.2 kB / 253.2 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.008884, allocations: 32.33 kB / 253.3 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.009219, allocations: 111.7 kB / 253.4 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.009389, allocations: 63.8 kB / 253.4 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.009441, allocations: 12 kB / 253.4 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.052e-05/0.009492, allocations: 16 kB / 253.5 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.009559, allocations: 35.83 kB / 253.5 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.009686, allocations: 63.83 kB / 253.6 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.01008, allocations: 171.5 kB / 253.7 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.01009, allocations: 4 kB / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01009, allocations: 0 / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.01009, allocations: 0 / 253.7 MB, free: 0.543 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.001239/0.01133, allocations: 397.6 kB / 254.1 MB, free: 128 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.01139, allocations: 19.92 kB / 254.1 MB, free: 108 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.01151, allocations: 24.84 kB / 254.2 MB, free: 84 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.0118, allocations: 141.4 kB / 254.3 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.01183, allocations: 8.375 kB / 254.3 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.01189, allocations: 16.36 kB / 254.3 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.01249, allocations: 192.1 kB / 254.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.01251, allocations: 4.188 kB / 254.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.01253, allocations: 4.375 kB / 254.5 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01255, allocations: 7.938 kB / 254.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.01303, allocations: 91.94 kB / 254.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.01445, allocations: 427.1 kB / 255 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.015, allocations: 102.5 kB / 255.1 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.01533, allocations: 64.83 kB / 255.2 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.01535, allocations: 0 / 255.2 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.01541, allocations: 38.55 kB / 255.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.01541, allocations: 4 kB / 255.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008045/0.01621, allocations: 145.7 kB / 255.4 MB, free: 14.74 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.01633, allocations: 110.7 kB / 255.5 MB, free: 14.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.01659, allocations: 162.1 kB / 255.6 MB, free: 14.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.01663, allocations: 25.7 kB / 255.7 MB, free: 14.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.01678, allocations: 131.9 kB / 255.8 MB, free: 14.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.01683, allocations: 23.8 kB / 255.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01693, allocations: 25.7 kB / 255.9 MB, free: 14.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002638/0.01719, allocations: 326.8 kB / 256.2 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.01742, allocations: 35.97 kB / 256.2 MB, free: 13.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.01778, allocations: 135.6 kB / 256.3 MB, free: 13.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.01825, allocations: 98.52 kB / 256.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01825, allocations: 0 / 256.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006566/0.01891, allocations: 153.5 kB / 256.6 MB, free: 13.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01893, allocations: 8.031 kB / 256.6 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01893, allocations: 0 / 256.6 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.01896, allocations: 8.031 kB / 256.6 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.01997, allocations: 83.92 kB / 256.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.02251, allocations: 1.374 MB / 258.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.02281, allocations: 23.91 kB / 258.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.02283, allocations: 7.984 kB / 258.1 MB, free: 11.83 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 0.0001829/0.02302, allocations: 117.8 kB / 258.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.02309, allocations: 20.02 kB / 258.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.0239, allocations: 163.2 kB / 258.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0239, allocations: 0 / 258.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.0239, allocations: 0 / 258.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.02391, allocations: 0 / 258.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.02522, allocations: 396.2 kB / 258.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02523, allocations: 0 / 258.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.02547, allocations: 19.98 kB / 258.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.02594, allocations: 48.84 kB / 258.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.02595, allocations: 0 / 258.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.02789, allocations: 1.268 MB / 260.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02789, allocations: 4.234 kB / 260.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.02896, allocations: 301 kB / 260.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.02901, allocations: 15.88 kB / 260.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.02905, allocations: 8 kB / 260.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.02935, allocations: 20.05 kB / 260.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.02941, allocations: 7.984 kB / 260.5 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.02942, allocations: 4 kB / 260.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.02959, allocations: 115.2 kB / 260.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02959, allocations: 0 / 260.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.03012, allocations: 36 kB / 260.6 MB, free: 9.121 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.0001803/0.0303, allocations: 95.25 kB / 260.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.03147, allocations: 139.8 kB / 260.8 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.03148, allocations: 4 kB / 260.8 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.03201, allocations: 165.8 kB / 261 MB, free: 8.703 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.03245, allocations: 23.88 kB / 261 MB, free: 8.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.035, allocations: 493.7 kB / 261.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.03516, allocations: 97.61 kB / 261.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.03525, allocations: 12.48 kB / 261.6 MB, free: 8.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.03532, allocations: 16.5 kB / 261.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03532, allocations: 0 / 261.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of Templates: time 0.007993/0.04332, allocations: 1.772 MB / 263.4 MB, free: 6.254 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.454110748018138]