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.00147/0.00147, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001502/0.001502, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001734/0.001734, allocations: 47.94 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1071, allocations: 53.32 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00417/0.1113, allocations: 2.063 MB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1129, allocations: 0.6622 MB / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.113, allocations: 0 / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.942e-05/0.1131, allocations: 23.78 kB / 429.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1133, allocations: 43.64 kB / 429.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.1138, allocations: 111.7 kB / 429.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.1141, allocations: 187.2 kB / 429.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1143, allocations: 37.53 kB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.1147, allocations: 87.69 kB / 430 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.1148, allocations: 79.62 kB / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.1149, allocations: 16 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.115, allocations: 28 kB / 430.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.115, allocations: 31.91 kB / 430.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1151, allocations: 79.58 kB / 430.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1155, allocations: 183.2 kB / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1155, allocations: 0 / 430.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1155, allocations: 4 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1155, allocations: 3.938 kB / 430.4 MB, free: 0.6367 MB / 350.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.001003/0.1165, allocations: 478.7 kB / 430.9 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1165, allocations: 8.031 kB / 430.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.1169, allocations: 56.78 kB / 431 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1933/0.3103, allocations: 214.3 kB / 431.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3103, allocations: 9.094 kB / 431.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.3103, allocations: 12.69 kB / 431.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.3107, allocations: 145.2 kB / 431.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3107, allocations: 0 / 431.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3108, allocations: 5.125 kB / 431.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3108, allocations: 4.5 kB / 431.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.3111, allocations: 108.1 kB / 431.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/0.312, allocations: 0.5085 MB / 432 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.3123, allocations: 97.66 kB / 432.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.3125, allocations: 65.78 kB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.3125, allocations: 5.438 kB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.3126, allocations: 35.19 kB / 432.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.3126, allocations: 0 / 432.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005442/0.3131, allocations: 142.3 kB / 432.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.3132, allocations: 109.6 kB / 432.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3133, allocations: 158.8 kB / 432.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3133, allocations: 30.67 kB / 432.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.3134, allocations: 126 kB / 432.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.3134, allocations: 25.3 kB / 432.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.3135, allocations: 29.72 kB / 432.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.3135, allocations: 320.7 kB / 433.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3137, allocations: 43.95 kB / 433.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3138, allocations: 87.95 kB / 433.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.3141, allocations: 96.41 kB / 433.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3141, allocations: 0 / 433.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003357/0.3144, allocations: 146.2 kB / 433.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3144, allocations: 4.625 kB / 433.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3144, allocations: 5.156 kB / 433.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3144, allocations: 3.125 kB / 433.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.315, allocations: 80.67 kB / 433.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.3161, allocations: 1.501 MB / 435 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.3163, allocations: 24.11 kB / 435.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3163, allocations: 3.469 kB / 435.1 MB, free: 8.535 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 8.568e-05/0.3164, allocations: 128.1 kB / 435.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.3164, allocations: 14.44 kB / 435.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.3168, allocations: 165.7 kB / 435.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3168, allocations: 1.25 kB / 435.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.3169, allocations: 0 / 435.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3169, allocations: 1.25 kB / 435.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/0.3175, allocations: 464.4 kB / 435.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3175, allocations: 1.875 kB / 435.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3176, allocations: 21.12 kB / 435.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.3178, allocations: 31.47 kB / 435.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3179, allocations: 9.938 kB / 435.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007804/0.3186, allocations: 1.397 MB / 437.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3186, allocations: 1.344 kB / 437.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.3192, allocations: 295.9 kB / 437.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.3192, allocations: 90.09 kB / 437.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3192, allocations: 4.375 kB / 437.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.3194, allocations: 13.25 kB / 437.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3194, allocations: 14.75 kB / 437.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3194, allocations: 5.672 kB / 437.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.131e-05/0.3195, allocations: 122.6 kB / 437.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3195, allocations: 0 / 437.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003/0.3198, allocations: 41.22 kB / 437.9 MB, free: 6.332 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.0001078/0.3199, allocations: 102.7 kB / 438 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.3206, allocations: 136.4 kB / 438.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3206, allocations: 1.156 kB / 438.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.3209, allocations: 171.2 kB / 438.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3212, allocations: 8.156 kB / 438.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.3227, allocations: 0.5438 MB / 438.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.3228, allocations: 0.7095 MB / 439.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.3229, allocations: 15.62 kB / 439.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.3229, allocations: 14.56 kB / 439.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3229, allocations: 0 / 439.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of Templates: time 0.005241/0.3282, allocations: 1.671 MB / 441.2 MB, free: 5.059 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/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.760909877717495]