Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.0008869/0.0008869, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001319/0.001319, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 0.9471/0.9471, allocations: 177 MB / 205.9 MB, free: 4.449 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.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.275e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002255/0.002268, allocations: 2.065 MB / 276.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.003108, allocations: 0.6427 MB / 276.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.003181, allocations: 4 kB / 276.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.723e-05/0.003228, allocations: 19.8 kB / 276.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.003348, allocations: 48.47 kB / 276.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.00363, allocations: 100.3 kB / 277 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.003802, allocations: 193.6 kB / 277.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003904, allocations: 33.78 kB / 277.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.004094, allocations: 127.6 kB / 277.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.00417, allocations: 55.8 kB / 277.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.004191, allocations: 16 kB / 277.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.938e-05/0.00424, allocations: 27.94 kB / 277.4 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.004269, allocations: 41.33 kB / 277.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.004318, allocations: 51.91 kB / 277.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004481, allocations: 135.5 kB / 277.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004483, allocations: 0 / 277.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004484, allocations: 0.8125 kB / 277.7 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004487, allocations: 0 / 277.7 MB, free: 0.7227 MB / 250.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.0006999/0.005187, allocations: 0.4887 MB / 278.2 MB, free: 204 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.005218, allocations: 12.03 kB / 278.2 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.005421, allocations: 52.81 kB / 278.2 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005583, allocations: 160.3 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.005592, allocations: 4.375 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.005616, allocations: 20.36 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.005807, allocations: 190.5 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.005815, allocations: 192 / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.005826, allocations: 384 / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.005832, allocations: 7.938 kB / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.005887, allocations: 37.45 kB / 278.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.006388, allocations: 443 kB / 279.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.006487, allocations: 55.05 kB / 279.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.006555, allocations: 39.8 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.006569, allocations: 4 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.006591, allocations: 37.39 kB / 279.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.006593, allocations: 0 / 279.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001689/0.006762, allocations: 81.5 kB / 279.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.006805, allocations: 106.8 kB / 279.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.006903, allocations: 207.5 kB / 279.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.006918, allocations: 29.7 kB / 279.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.006987, allocations: 174.6 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.007008, allocations: 31.75 kB / 279.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.007054, allocations: 39.34 kB / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.007163, allocations: 0.4884 MB / 280.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.007189, allocations: 11.98 kB / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.007262, allocations: 121.8 kB / 280.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.562e-05/0.007327, allocations: 54.98 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007329, allocations: 0 / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001519/0.007481, allocations: 97.58 kB / 280.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.007492, allocations: 4 kB / 280.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007498, allocations: 12.05 kB / 280.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/0.007504, allocations: 0 / 280.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.007802, allocations: 75.92 kB / 280.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008768/0.008679, allocations: 1.87 MB / 282.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.00875, allocations: 15.94 kB / 282.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.008757, allocations: 0 / 282.6 MB, free: 11.39 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 (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.588e-05/0.008833, allocations: 160.6 kB / 282.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.008859, allocations: 11.95 kB / 282.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.009038, allocations: 114.4 kB / 282.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.009039, allocations: 4 kB / 282.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.00904, allocations: 4 kB / 282.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009044, allocations: 0 / 282.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.009448, allocations: 377.2 kB / 283.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.009451, allocations: 7.984 kB / 283.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.009525, allocations: 15.98 kB / 283.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.009683, allocations: 47.62 kB / 283.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.00969, allocations: 0 / 283.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.01072, allocations: 1.725 MB / 285.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01073, allocations: 7.969 kB / 285.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.01095, allocations: 279.1 kB / 285.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.01096, allocations: 11.94 kB / 285.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.01098, allocations: 3.938 kB / 285.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.01105, allocations: 12 kB / 285.4 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.01107, allocations: 3.984 kB / 285.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.01108, allocations: 7.984 kB / 285.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.01114, allocations: 152.7 kB / 285.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01114, allocations: 7.969 kB / 285.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.01134, allocations: 43.89 kB / 285.6 MB, free: 8.215 MB / 266.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 7.844e-05/0.01142, allocations: 99.25 kB / 285.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.01172, allocations: 87.55 kB / 285.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01172, allocations: 0 / 285.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.01188, allocations: 212.7 kB / 286 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01206, allocations: 11.91 kB / 286 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008994/0.01295, allocations: 434.9 kB / 286.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.729e-05/0.013, allocations: 67.34 kB / 286.5 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.01305, allocations: 16.48 kB / 286.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01315, allocations: 98.17 kB / 286.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01315, allocations: 0 / 286.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of Templates: time 0.003499/0.01665, allocations: 1.961 MB / 288.5 MB, free: 5.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8134242589585483]