Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00141/0.00141, allocations: 83.73 kB / 21.97 MB, free: 2.594 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.00436/0.00436, allocations: 174 kB / 25.33 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 187.2 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 251 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.011e-05, allocations: 6.25 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004492/0.004522, allocations: 2.019 MB / 253.1 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.00551, allocations: 0.6085 MB / 253.7 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.005583, allocations: 4 kB / 253.7 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.989e-05/0.005643, allocations: 19.73 kB / 253.7 MB, free: 4.82 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.005784, allocations: 47.62 kB / 253.8 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.006113, allocations: 91.67 kB / 253.8 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.006318, allocations: 187.2 kB / 254 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.006468, allocations: 37.66 kB / 254.1 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.006677, allocations: 115.7 kB / 254.2 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.22e-05/0.006759, allocations: 59.8 kB / 254.2 MB, free: 4.289 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.00679, allocations: 16 kB / 254.2 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.00681, allocations: 16 kB / 254.3 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.006839, allocations: 35.84 kB / 254.3 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.006888, allocations: 55.89 kB / 254.4 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.007062, allocations: 123.5 kB / 254.5 MB, free: 4.047 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.007067, allocations: 0 / 254.5 MB, free: 4.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007068, allocations: 4 kB / 254.5 MB, free: 4.043 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.007073, allocations: 0 / 254.5 MB, free: 4.043 MB / 234.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.0005696/0.007642, allocations: 495.8 kB / 255 MB, free: 3.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.007684, allocations: 11.98 kB / 255 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.007752, allocations: 28.84 kB / 255 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.007876, allocations: 140.4 kB / 255.1 MB, free: 3.316 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.007891, allocations: 8.375 kB / 255.1 MB, free: 3.309 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.007921, allocations: 8.375 kB / 255.2 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.008183, allocations: 201.3 kB / 255.4 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.008193, allocations: 192 / 255.4 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.008208, allocations: 4.375 kB / 255.4 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.008216, allocations: 7.938 kB / 255.4 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.008293, allocations: 35.97 kB / 255.4 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.008957, allocations: 462.4 kB / 255.9 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.00909, allocations: 63.03 kB / 255.9 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.009198, allocations: 47.61 kB / 256 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.009212, allocations: 0 / 256 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.009238, allocations: 37.39 kB / 256 MB, free: 2.355 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.00924, allocations: 3.984 kB / 256 MB, free: 2.352 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002068/0.009447, allocations: 77.62 kB / 256.1 MB, free: 2.27 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.009496, allocations: 118.7 kB / 256.2 MB, free: 2.129 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.009612, allocations: 213.7 kB / 256.4 MB, free: 1.902 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.009627, allocations: 29.64 kB / 256.4 MB, free: 1.867 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.009699, allocations: 170.7 kB / 256.6 MB, free: 1.695 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.009721, allocations: 31.73 kB / 256.6 MB, free: 1.664 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.009762, allocations: 35.36 kB / 256.7 MB, free: 1.621 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.009886, allocations: 0.4923 MB / 257.2 MB, free: 1.117 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.009927, allocations: 19.92 kB / 257.2 MB, free: 1.098 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.01, allocations: 113.8 kB / 257.3 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.01009, allocations: 67.19 kB / 257.3 MB, free: 0.875 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.0101, allocations: 4 kB / 257.4 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001428/0.01024, allocations: 97.5 kB / 257.4 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01025, allocations: 4 kB / 257.5 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01026, allocations: 4 kB / 257.5 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01027, allocations: 4.062 kB / 257.5 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.0106, allocations: 83.91 kB / 257.5 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.01221, allocations: 1.882 MB / 259.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.01229, allocations: 8 kB / 259.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.0123, allocations: 11.98 kB / 259.4 MB, free: 14.65 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 7.546e-05/0.01238, allocations: 160.5 kB / 259.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.0124, allocations: 19.84 kB / 259.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.01259, allocations: 110.1 kB / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01259, allocations: 4 kB / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01259, allocations: 4.031 kB / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01259, allocations: 0 / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.01295, allocations: 401 kB / 260.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01295, allocations: 48 / 260.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.01302, allocations: 27.91 kB / 260.2 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001946/0.01322, allocations: 47.67 kB / 260.2 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.01323, allocations: 4 kB / 260.2 MB, free: 13.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007714/0.014, allocations: 1.748 MB / 262 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.014, allocations: 3.938 kB / 262 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.01425, allocations: 299.2 kB / 262.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.01426, allocations: 7.953 kB / 262.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.01427, allocations: 4 kB / 262.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.01434, allocations: 11.98 kB / 262.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.01438, allocations: 7.984 kB / 262.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.01438, allocations: 0 / 262.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.658e-05/0.01445, allocations: 155.2 kB / 262.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01445, allocations: 0 / 262.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.01464, allocations: 47.92 kB / 262.5 MB, free: 11.39 MB / 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 0.0001055/0.01475, allocations: 95.25 kB / 262.6 MB, free: 11.28 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.01506, allocations: 103.5 kB / 262.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01507, allocations: 0 / 262.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.01525, allocations: 212.7 kB / 262.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.01543, allocations: 11.94 kB / 262.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.01636, allocations: 434.2 kB / 263.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.01641, allocations: 67.34 kB / 263.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.01645, allocations: 20.47 kB / 263.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.01649, allocations: 12.5 kB / 263.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01649, allocations: 0 / 263.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of Templates: time 0.003895/0.02038, allocations: 1.879 MB / 265.3 MB, free: 8.488 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.777397848200053]