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.001325/0.001325, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001068/0.001068, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 18.57 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 0.9878/0.9878, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] 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.543e-06/1.543e-06, allocations: 0 / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.662e-05, allocations: 6.25 kB / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002557/0.002584, allocations: 2.091 MB / 270.6 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.003357, allocations: 0.5802 MB / 271.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.003422, allocations: 0 / 271.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.707e-05/0.003469, allocations: 19.78 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.003589, allocations: 51.56 kB / 271.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.00384, allocations: 87.69 kB / 271.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.003993, allocations: 187.2 kB / 271.5 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.004104, allocations: 50.22 kB / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004282, allocations: 111.7 kB / 271.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.004365, allocations: 63.8 kB / 271.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.004391, allocations: 16 kB / 271.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.00441, allocations: 16 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.004443, allocations: 39.83 kB / 271.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.004633, allocations: 51.91 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.004785, allocations: 123.5 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004787, allocations: 0 / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004788, allocations: 4 kB / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004793, allocations: 0 / 272 MB, free: 2.465 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.0004414/0.005234, allocations: 360.2 kB / 272.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.005266, allocations: 8.031 kB / 272.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.005307, allocations: 20.92 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.005407, allocations: 129.6 kB / 272.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.005417, allocations: 4.375 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.005443, allocations: 20.33 kB / 272.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.005649, allocations: 180.8 kB / 272.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.00566, allocations: 4.125 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.005671, allocations: 384 / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.005678, allocations: 7.938 kB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.005731, allocations: 38.27 kB / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.006208, allocations: 319 kB / 273.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/0.006307, allocations: 46.53 kB / 273.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.006377, allocations: 36.84 kB / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.006393, allocations: 3.984 kB / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.006416, allocations: 42.5 kB / 273.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.006418, allocations: 0 / 273.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001395/0.006557, allocations: 65.81 kB / 273.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.006601, allocations: 106.8 kB / 273.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.006685, allocations: 149.7 kB / 273.5 MB, free: 0.793 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.0067, allocations: 37.7 kB / 273.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.006743, allocations: 107.9 kB / 273.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.006762, allocations: 31.73 kB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.006798, allocations: 29.69 kB / 273.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.006871, allocations: 326.8 kB / 274 MB, free: 252 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.006894, allocations: 11.98 kB / 274 MB, free: 240 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.006946, allocations: 103.6 kB / 274.1 MB, free: 108 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.007007, allocations: 42.56 kB / 274.2 MB, free: 56 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.007009, allocations: 0 / 274.2 MB, free: 56 kB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001015/0.00711, allocations: 81.92 kB / 274.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007123, allocations: 8 kB / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007128, allocations: 0 / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.007138, allocations: 0 / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.007456, allocations: 90.81 kB / 274.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007638/0.00822, allocations: 1.272 MB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.008298, allocations: 8 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.008308, allocations: 11.98 kB / 275.7 MB, free: 14.49 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.178e-05/0.00838, allocations: 113.8 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.008402, allocations: 12.11 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.008566, allocations: 107.2 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008568, allocations: 0 / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-07/0.008568, allocations: 0 / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.008573, allocations: 3.984 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.008854, allocations: 276.3 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.008856, allocations: 0 / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.008945, allocations: 27.95 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.009089, allocations: 36.81 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.009098, allocations: 8 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005565/0.009654, allocations: 1.178 MB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.009656, allocations: 3.938 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.009832, allocations: 201.1 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.009844, allocations: 15.84 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.009859, allocations: 7.938 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.009924, allocations: 16.08 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.009952, allocations: 7.984 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.009956, allocations: 0 / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.857e-05/0.009985, allocations: 32.83 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009985, allocations: 0 / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.01015, allocations: 39.94 kB / 277.7 MB, free: 12.25 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 8.707e-05/0.01024, allocations: 84.41 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.0105, allocations: 88.78 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.0105, allocations: 4 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.01064, allocations: 151.1 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.01076, allocations: 8 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007725/0.01154, allocations: 405.7 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.01158, allocations: 79.27 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.01161, allocations: 12.48 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.0117, allocations: 71.34 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0117, allocations: 0 / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Templates: time 0.003784/0.01548, allocations: 1.899 MB / 280.5 MB, free: 9.414 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] 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","",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.6095801941119134]