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.000907/0.000907, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009136/0.0009136, allocations: 148.9 kB / 24.89 MB, free: 8.785 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.9043/0.9043, allocations: 173.4 MB / 201.5 MB, free: 8.25 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.042e-06/1.042e-06, allocations: 0 / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.525e-05, allocations: 5.266 kB / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002132/0.002147, allocations: 2.044 MB / 270.5 MB, free: 7.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006744/0.002821, allocations: 0.5708 MB / 271.1 MB, free: 7.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.002875, allocations: 5.312 kB / 271.1 MB, free: 7.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.002921, allocations: 19.78 kB / 271.1 MB, free: 7.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.003032, allocations: 48.36 kB / 271.2 MB, free: 7.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.003255, allocations: 88.69 kB / 271.3 MB, free: 7.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003399, allocations: 187.2 kB / 271.4 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.003497, allocations: 42.8 kB / 271.5 MB, free: 6.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.003657, allocations: 120.4 kB / 271.6 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.00373, allocations: 55.81 kB / 271.7 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.003758, allocations: 21.89 kB / 271.7 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.003776, allocations: 16 kB / 271.7 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.003803, allocations: 31.91 kB / 271.7 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.003849, allocations: 59.83 kB / 271.8 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.00398, allocations: 119.5 kB / 271.9 MB, free: 6.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003982, allocations: 1.781 kB / 271.9 MB, free: 6.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003983, allocations: 4 kB / 271.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.003986, allocations: 0 / 271.9 MB, free: 6.363 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.0004069/0.004392, allocations: 357.5 kB / 272.3 MB, free: 5.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.00442, allocations: 8.594 kB / 272.3 MB, free: 5.984 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.004459, allocations: 25.61 kB / 272.3 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.837e-05/0.004558, allocations: 137.5 kB / 272.4 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.004569, allocations: 9.094 kB / 272.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.004826, allocations: 12.38 kB / 272.4 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.005001, allocations: 178.9 kB / 272.6 MB, free: 5.578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.00501, allocations: 192 / 272.6 MB, free: 5.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005021, allocations: 4.375 kB / 272.6 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005027, allocations: 15.86 kB / 272.6 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.005076, allocations: 32.09 kB / 272.7 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.005509, allocations: 315.6 kB / 273 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.039e-05/0.005589, allocations: 51.22 kB / 273 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.005651, allocations: 33.34 kB / 273.1 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.005666, allocations: 4 kB / 273.1 MB, free: 5.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005685, allocations: 34.56 kB / 273.1 MB, free: 5.059 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005686, allocations: 3.938 kB / 273.1 MB, free: 5.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.000118/0.005804, allocations: 61.67 kB / 273.2 MB, free: 4.988 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.00584, allocations: 106.8 kB / 273.3 MB, free: 4.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.005913, allocations: 154.7 kB / 273.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.005925, allocations: 25.7 kB / 273.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.005966, allocations: 119.9 kB / 273.6 MB, free: 4.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.005982, allocations: 23.8 kB / 273.6 MB, free: 4.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.006019, allocations: 29.69 kB / 273.6 MB, free: 4.484 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.006086, allocations: 330.8 kB / 273.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.006108, allocations: 12 kB / 273.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.006162, allocations: 111.5 kB / 274.1 MB, free: 4.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.006212, allocations: 38.56 kB / 274.1 MB, free: 3.957 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006214, allocations: 0 / 274.1 MB, free: 3.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.277e-05/0.006297, allocations: 77.59 kB / 274.2 MB, free: 3.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.006307, allocations: 8 kB / 274.2 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.00631, allocations: 0 / 274.2 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006322, allocations: 0 / 274.2 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.006597, allocations: 83.92 kB / 274.3 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006424/0.00724, allocations: 1.281 MB / 275.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.007301, allocations: 15.92 kB / 275.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.007307, allocations: 4 kB / 275.6 MB, free: 2.395 MB / 250.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 5.459e-05/0.007361, allocations: 113.8 kB / 275.7 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.007386, allocations: 11.92 kB / 275.7 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.007522, allocations: 103.2 kB / 275.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.007522, allocations: 0 / 275.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007524, allocations: 8.031 kB / 275.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007527, allocations: 0 / 275.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.007781, allocations: 276.3 kB / 276.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007782, allocations: 0 / 276.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.007845, allocations: 19.98 kB / 276.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.007977, allocations: 48.78 kB / 276.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007983, allocations: 0 / 276.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004844/0.008467, allocations: 1.178 MB / 277.3 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008468, allocations: 0 / 277.3 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.008626, allocations: 205.2 kB / 277.5 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.008637, allocations: 11.91 kB / 277.5 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.008651, allocations: 4 kB / 277.5 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.008715, allocations: 19.86 kB / 277.5 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.008736, allocations: 7.984 kB / 277.5 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.00874, allocations: 0 / 277.5 MB, free: 244 kB / 250.7 MB Notification: Performance of sorting global known variables: time 2.762e-05/0.008768, allocations: 39.88 kB / 277.6 MB, free: 204 kB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.008768, allocations: 0 / 277.6 MB, free: 204 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.008921, allocations: 36.03 kB / 277.6 MB, free: 168 kB / 250.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 6.484e-05/0.008986, allocations: 88.34 kB / 277.7 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.009233, allocations: 84.78 kB / 277.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.009236, allocations: 0 / 277.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.00936, allocations: 155.1 kB / 277.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.009472, allocations: 8 kB / 278 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.01015, allocations: 413.9 kB / 278.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.01018, allocations: 67.33 kB / 278.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.44e-05/0.01021, allocations: 12.48 kB / 278.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.01029, allocations: 79.28 kB / 278.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01029, allocations: 0 / 278.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Templates: time 0.003422/0.01372, allocations: 1.865 MB / 280.4 MB, free: 13.36 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 -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.433914395980537]