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.001349/0.001349, allocations: 82.36 kB / 20.68 MB, free: 1.023 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.001368/0.001368, allocations: 146.7 kB / 23.94 MB, free: 4.16 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.416/1.416, allocations: 173.3 MB / 200.4 MB, free: 12.83 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 1.223e-06/1.223e-06, allocations: 0 / 318.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.316e-05, allocations: 5.094 kB / 318.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002867/0.00289, allocations: 1.941 MB / 320.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.0039, allocations: 0.5466 MB / 321.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.003974, allocations: 2.781 kB / 321.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.204e-05/0.004036, allocations: 19.41 kB / 321.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.004189, allocations: 51.45 kB / 321.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.004518, allocations: 91.11 kB / 321.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.004704, allocations: 193.6 kB / 321.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.004842, allocations: 32.36 kB / 321.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.005059, allocations: 118.1 kB / 321.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.005177, allocations: 62.89 kB / 322 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.005213, allocations: 14.72 kB / 322 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.174e-05/0.005244, allocations: 14.75 kB / 322 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.00528, allocations: 35.5 kB / 322 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.00535, allocations: 58.59 kB / 322.1 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.005573, allocations: 185.9 kB / 322.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.005578, allocations: 4.734 kB / 322.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005579, allocations: 0 / 322.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005584, allocations: 0 / 322.3 MB, free: 1.406 MB / 286.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.0006803/0.006265, allocations: 398 kB / 322.7 MB, free: 1.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.0063, allocations: 9.312 kB / 322.7 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.006356, allocations: 16.88 kB / 322.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.006476, allocations: 140.5 kB / 322.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.006492, allocations: 7.656 kB / 322.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.00652, allocations: 11.73 kB / 322.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.00684, allocations: 201.3 kB / 323.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.006853, allocations: 7.438 kB / 323.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.006872, allocations: 4.375 kB / 323.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.006877, allocations: 11.66 kB / 323.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.007145, allocations: 90.48 kB / 323.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007868/0.007932, allocations: 419.7 kB / 323.6 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.008229, allocations: 101.5 kB / 323.7 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.008423, allocations: 63.83 kB / 323.7 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.008447, allocations: 5.281 kB / 323.7 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.008466, allocations: 36.55 kB / 323.8 MB, free: 296 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.008467, allocations: 4 kB / 323.8 MB, free: 292 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004677/0.008935, allocations: 147 kB / 323.9 MB, free: 224 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.008991, allocations: 108.8 kB / 324 MB, free: 92 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.009141, allocations: 160.1 kB / 324.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.009167, allocations: 29.7 kB / 324.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.009259, allocations: 125 kB / 324.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.009292, allocations: 29.12 kB / 324.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.009358, allocations: 31.56 kB / 324.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.009506, allocations: 322.2 kB / 324.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.009647, allocations: 40.73 kB / 324.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.009847, allocations: 132.8 kB / 324.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.01012, allocations: 102.7 kB / 325 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01013, allocations: 1.5 kB / 325 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003791/0.0105, allocations: 140.1 kB / 325.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01052, allocations: 9.531 kB / 325.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01052, allocations: 2.172 kB / 325.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.01054, allocations: 1.375 kB / 325.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/0.01116, allocations: 84.11 kB / 325.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.01285, allocations: 1.371 MB / 326.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.01305, allocations: 20.69 kB / 326.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.01306, allocations: 3.875 kB / 326.6 MB, free: 13.85 MB / 302.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.000156/0.01322, allocations: 121.4 kB / 326.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.01327, allocations: 21.45 kB / 326.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.01379, allocations: 156.7 kB / 326.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01379, allocations: 1.344 kB / 326.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01379, allocations: 0.7031 kB / 326.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.0138, allocations: 0 / 326.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008371/0.01463, allocations: 400.2 kB / 327.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01464, allocations: 1.156 kB / 327.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.0148, allocations: 23.17 kB / 327.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.01505, allocations: 36.77 kB / 327.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.01507, allocations: 5.875 kB / 327.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.01643, allocations: 1.266 MB / 328.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01644, allocations: 5 kB / 328.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.01714, allocations: 288.6 kB / 328.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.01716, allocations: 8.641 kB / 328.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.01719, allocations: 6.969 kB / 328.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.01737, allocations: 17.84 kB / 329 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.01742, allocations: 10.39 kB / 329 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01743, allocations: 3.219 kB / 329 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.01756, allocations: 121.8 kB / 329.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01756, allocations: 3.938 kB / 329.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.01789, allocations: 39.52 kB / 329.1 MB, free: 11.73 MB / 302.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.0001626/0.01806, allocations: 104.3 kB / 329.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.01879, allocations: 132.5 kB / 329.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.0188, allocations: 0 / 329.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.01918, allocations: 165.9 kB / 329.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.01945, allocations: 12.66 kB / 329.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.02109, allocations: 492.1 kB / 330 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.02121, allocations: 103.8 kB / 330.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.02127, allocations: 14.61 kB / 330.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.02133, allocations: 16.97 kB / 330.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02133, allocations: 0 / 330.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Templates: time 0.005539/0.02687, allocations: 1.756 MB / 331.9 MB, free: 10.88 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.24016460776329]