Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 119.4 kB / 18.46 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 192.3 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 47.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09259, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003201/0.0958, allocations: 2.048 MB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.09678, allocations: 0.5765 MB / 421.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.09685, allocations: 4 kB / 421.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.98e-05/0.09691, allocations: 23.78 kB / 421.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.09704, allocations: 43.62 kB / 421.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.09735, allocations: 95.75 kB / 421.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.09757, allocations: 183.3 kB / 421.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.09771, allocations: 33.47 kB / 422 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.09787, allocations: 87.64 kB / 422 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.09799, allocations: 75.69 kB / 422.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.09802, allocations: 16 kB / 422.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.09806, allocations: 20 kB / 422.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.0981, allocations: 35.84 kB / 422.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.09819, allocations: 79.58 kB / 422.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.09842, allocations: 167.3 kB / 422.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09842, allocations: 0 / 422.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09842, allocations: 0 / 422.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.09843, allocations: 7.938 kB / 422.4 MB, free: 8.594 MB / 350.1 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.0008114/0.09924, allocations: 474.7 kB / 422.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.09928, allocations: 15.89 kB / 422.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.09933, allocations: 16.84 kB / 422.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.09952, allocations: 200.1 kB / 423.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.09953, allocations: 8.375 kB / 423.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.09957, allocations: 8.375 kB / 423.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.09991, allocations: 160.3 kB / 423.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.09992, allocations: 0 / 423.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.09994, allocations: 3.984 kB / 423.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.09995, allocations: 4 kB / 423.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.1002, allocations: 96.95 kB / 423.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.1012, allocations: 0.4955 MB / 423.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.1015, allocations: 102.5 kB / 424 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1017, allocations: 68.75 kB / 424.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1017, allocations: 0 / 424.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.1017, allocations: 38.5 kB / 424.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.1017, allocations: 4 kB / 424.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004805/0.1022, allocations: 141.5 kB / 424.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.1023, allocations: 106.8 kB / 424.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1024, allocations: 157.5 kB / 424.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1025, allocations: 29.69 kB / 424.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.1025, allocations: 120 kB / 424.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1026, allocations: 35.83 kB / 424.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.1026, allocations: 29.69 kB / 424.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1028, allocations: 326.8 kB / 425 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1029, allocations: 35.92 kB / 425.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1031, allocations: 80.27 kB / 425.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1033, allocations: 102.6 kB / 425.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1033, allocations: 3.938 kB / 425.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003463/0.1037, allocations: 145.5 kB / 425.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1037, allocations: 7.938 kB / 425.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1037, allocations: 7.938 kB / 425.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1037, allocations: 0 / 425.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.1043, allocations: 83.95 kB / 425.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.1059, allocations: 1.496 MB / 427 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.1061, allocations: 32.03 kB / 427 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1061, allocations: 3.938 kB / 427 MB, free: 3.586 MB / 350.1 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.0001252/0.1062, allocations: 125.8 kB / 427.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.1062, allocations: 11.95 kB / 427.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.1067, allocations: 155.2 kB / 427.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1067, allocations: 0 / 427.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1067, allocations: 7.938 kB / 427.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1067, allocations: 0 / 427.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007915/0.1075, allocations: 464.5 kB / 427.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1075, allocations: 0 / 427.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1077, allocations: 23.92 kB / 427.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.1079, allocations: 32.83 kB / 427.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1079, allocations: 0 / 427.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.1092, allocations: 1.395 MB / 429.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1092, allocations: 4.016 kB / 429.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.1098, allocations: 301.1 kB / 429.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.1099, allocations: 93.03 kB / 429.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1099, allocations: 7.938 kB / 429.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.11, allocations: 11.98 kB / 429.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.1101, allocations: 11.98 kB / 429.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.1101, allocations: 8.062 kB / 429.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1102, allocations: 119.2 kB / 429.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1102, allocations: 0 / 429.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1105, allocations: 39.95 kB / 429.8 MB, free: 0.543 MB / 350.1 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.0001682/0.1107, allocations: 99.19 kB / 429.9 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.1114, allocations: 135.9 kB / 430 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1114, allocations: 0 / 430 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.1117, allocations: 170.5 kB / 430.2 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.112, allocations: 16.06 kB / 430.2 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.1136, allocations: 0.5596 MB / 430.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1139, allocations: 0.7119 MB / 431.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.1139, allocations: 19.38 kB / 431.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1139, allocations: 0 / 431.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Templates: time 0.004254/0.1182, allocations: 2.227 MB / 433.7 MB, free: 12.53 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.693850447889417]