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.001029/0.001029, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001194/0.001194, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 2.124e-06/2.124e-06, allocations: 0 / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.093e-05, allocations: 2.312 kB / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003998/0.004029, allocations: 2.076 MB / 275.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.005452, allocations: 0.6387 MB / 275.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.005557, allocations: 3.938 kB / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.239e-05/0.00563, allocations: 23.78 kB / 275.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.00581, allocations: 43.62 kB / 275.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.006325, allocations: 103.7 kB / 276 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.006641, allocations: 195.1 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.006829, allocations: 33.78 kB / 276.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.007166, allocations: 115.8 kB / 276.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.007292, allocations: 63.8 kB / 276.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.00733, allocations: 16 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.007411, allocations: 23.94 kB / 276.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.00745, allocations: 39.83 kB / 276.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.007526, allocations: 59.83 kB / 276.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.007818, allocations: 131.5 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.007822, allocations: 0 / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.007824, allocations: 0 / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.007831, allocations: 4 kB / 276.6 MB, free: 14.26 MB / 266.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.0007978/0.008629, allocations: 495.8 kB / 277.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.008678, allocations: 8.031 kB / 277.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.009063, allocations: 56.8 kB / 277.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.009348, allocations: 165.1 kB / 277.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.009367, allocations: 8.375 kB / 277.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.009406, allocations: 16.31 kB / 277.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.00976, allocations: 200.5 kB / 277.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.009774, allocations: 192 / 277.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.009796, allocations: 4.375 kB / 277.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.009809, allocations: 7.938 kB / 277.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.009954, allocations: 39.91 kB / 277.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009983/0.01095, allocations: 462.5 kB / 278.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.01116, allocations: 71 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.01134, allocations: 35.67 kB / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.01136, allocations: 4 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.0114, allocations: 33.39 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.01141, allocations: 0 / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003566/0.01176, allocations: 97.5 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.01183, allocations: 110.7 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.01202, allocations: 216.5 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01205, allocations: 29.7 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.01214, allocations: 162.7 kB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.01218, allocations: 31.73 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.01225, allocations: 35.36 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.0124, allocations: 0.4923 MB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.01247, allocations: 11.98 kB / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01258, allocations: 113.8 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.0127, allocations: 66.98 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.0127, allocations: 4 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002275/0.01293, allocations: 105.7 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.01295, allocations: 4 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01295, allocations: 0 / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.01297, allocations: 4 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.01349, allocations: 87.78 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.015, allocations: 1.881 MB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.01515, allocations: 19.98 kB / 281.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.01516, allocations: 7.984 kB / 281.7 MB, free: 8.82 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 0.0001275/0.01529, allocations: 160.6 kB / 281.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.01534, allocations: 16.05 kB / 281.8 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.01567, allocations: 114 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01568, allocations: 4 kB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01568, allocations: 0 / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01569, allocations: 0 / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.01625, allocations: 412.5 kB / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01625, allocations: 0 / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.01634, allocations: 24.02 kB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.01655, allocations: 39.59 kB / 282.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01656, allocations: 8 kB / 282.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009149/0.01748, allocations: 1.748 MB / 284.2 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01748, allocations: 3.938 kB / 284.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.01772, allocations: 279.1 kB / 284.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.01774, allocations: 15.91 kB / 284.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.01776, allocations: 0 / 284.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.01783, allocations: 11.98 kB / 284.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01787, allocations: 20.02 kB / 284.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.01787, allocations: 0 / 284.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.01794, allocations: 160.7 kB / 284.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01794, allocations: 0 / 284.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.01816, allocations: 35.94 kB / 284.7 MB, free: 5.566 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 0.0001155/0.01827, allocations: 99.25 kB / 284.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.01861, allocations: 100.2 kB / 284.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01861, allocations: 4 kB / 284.9 MB, free: 5.352 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.01881, allocations: 208.8 kB / 285.1 MB, free: 5.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.019, allocations: 15.92 kB / 285.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009943/0.01999, allocations: 452.8 kB / 285.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.02003, allocations: 67.33 kB / 285.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.02007, allocations: 8.5 kB / 285.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.02011, allocations: 20.48 kB / 285.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02011, allocations: 0 / 285.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of Templates: time 0.003817/0.02393, allocations: 1.791 MB / 287.4 MB, free: 2.734 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.823895710054785]