Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001518/0.001518, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001532/0.001532, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2816, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003505/0.2851, allocations: 1.98 MB / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2862, allocations: 0.6155 MB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.2863, allocations: 4 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.568e-05/0.2864, allocations: 19.78 kB / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.2865, allocations: 43.64 kB / 435 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2869, allocations: 111.7 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.2871, allocations: 183.3 kB / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2873, allocations: 44.69 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.2875, allocations: 87.69 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2876, allocations: 79.62 kB / 435.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.2876, allocations: 16 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.2877, allocations: 23.98 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.2877, allocations: 35.84 kB / 435.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.2878, allocations: 71.66 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.288, allocations: 183 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.288, allocations: 0 / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.288, allocations: 0 / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2881, allocations: 8 kB / 435.8 MB, free: 3.258 MB / 334.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.000841/0.2889, allocations: 397.5 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2889, allocations: 8.031 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004492/0.2894, allocations: 56.8 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.2897, allocations: 167.8 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2898, allocations: 12.36 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.2898, allocations: 8.375 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.2902, allocations: 207.4 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2903, allocations: 0 / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2903, allocations: 4 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2903, allocations: 4 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.2906, allocations: 99.86 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.2915, allocations: 419.1 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.2918, allocations: 98.53 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.292, allocations: 64.77 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.292, allocations: 3.984 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2921, allocations: 42.56 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2921, allocations: 4 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000499/0.2926, allocations: 141.5 kB / 437.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.2926, allocations: 106.8 kB / 437.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.2928, allocations: 162.2 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2928, allocations: 29.7 kB / 437.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.2929, allocations: 120 kB / 437.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.293, allocations: 23.75 kB / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.2931, allocations: 37.69 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2932, allocations: 322.8 kB / 438.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2934, allocations: 39.92 kB / 438.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2935, allocations: 123.7 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.2938, allocations: 110.6 kB / 438.6 MB, free: 272 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2938, allocations: 0 / 438.6 MB, free: 272 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003741/0.2942, allocations: 145.5 kB / 438.7 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2942, allocations: 4 kB / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2942, allocations: 7.938 kB / 438.7 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2942, allocations: 48 / 438.7 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.2948, allocations: 87.84 kB / 438.8 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.2964, allocations: 1.374 MB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.2966, allocations: 23.97 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2966, allocations: 0 / 440.2 MB, free: 14.52 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.0001225/0.2967, allocations: 129.9 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.2967, allocations: 15.95 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.2972, allocations: 151.1 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2972, allocations: 4 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.2972, allocations: 0 / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2972, allocations: 0 / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007601/0.298, allocations: 387.7 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.298, allocations: 0 / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.2982, allocations: 27.98 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.2984, allocations: 28.86 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2984, allocations: 7.938 kB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.2995, allocations: 1.268 MB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2995, allocations: 0 / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000638/0.3002, allocations: 309.7 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.3002, allocations: 11.98 kB / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.3002, allocations: 4 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3004, allocations: 19.98 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3005, allocations: 11.98 kB / 442.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3005, allocations: 7.922 kB / 442.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.3006, allocations: 120.1 kB / 442.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3006, allocations: 3.938 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3009, allocations: 47.83 kB / 442.7 MB, free: 11.8 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.0001291/0.301, allocations: 97.69 kB / 442.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007453/0.3017, allocations: 139.9 kB / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3018, allocations: 4 kB / 443 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.3021, allocations: 158.8 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3024, allocations: 12 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.304, allocations: 0.5416 MB / 443.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.951e-05/0.3041, allocations: 101.4 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.197e-05/0.3042, allocations: 16.47 kB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.3042, allocations: 11.44 kB / 443.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3042, allocations: 4 kB / 443.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Templates: time 0.005276/0.3095, allocations: 1.907 MB / 445.7 MB, free: 8.746 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.364624717010884]