Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.0008242/0.0008242, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00356/0.00356, allocations: 160.6 kB / 24.7 MB, free: 9.414 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.8679/0.8679, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2617/0.2617, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.966e-05, allocations: 4.672 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.2126/0.2126, allocations: 1.858 MB / 445.3 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.2132, allocations: 0.558 MB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.2133, allocations: 2.781 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.2133, allocations: 14.86 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.2134, allocations: 49.8 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.2136, allocations: 80.14 kB / 446 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.2137, allocations: 155.3 kB / 446.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.2138, allocations: 21.84 kB / 446.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2139, allocations: 111.9 kB / 446.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.214, allocations: 52.94 kB / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.214, allocations: 13.25 kB / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-05/0.214, allocations: 14.53 kB / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.214, allocations: 35.28 kB / 446.4 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2141, allocations: 41.97 kB / 446.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.2142, allocations: 149 kB / 446.6 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2142, allocations: 2.875 kB / 446.6 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2142, allocations: 1.125 kB / 446.6 MB, free: 43.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2142, allocations: 0 / 446.6 MB, free: 43.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003964/0.2146, allocations: 375.3 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.416e-05/0.2146, allocations: 8.344 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2148, allocations: 40.56 kB / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.625e-05/0.2148, allocations: 143.3 kB / 447.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.2148, allocations: 7.188 kB / 447.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.2149, allocations: 3.312 kB / 447.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.215, allocations: 190.8 kB / 447.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.215, allocations: 3.094 kB / 447.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.215, allocations: 2.5 kB / 447.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.215, allocations: 10 kB / 447.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.2152, allocations: 93.06 kB / 447.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.2156, allocations: 367 kB / 447.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2157, allocations: 98.61 kB / 447.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.2158, allocations: 38.2 kB / 447.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2158, allocations: 3.094 kB / 447.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-06/0.2158, allocations: 38.5 kB / 448 MB, free: 42.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.2158, allocations: 0 / 448 MB, free: 42.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006432/0.2164, allocations: 314.4 kB / 448.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.2165, allocations: 105.5 kB / 448.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.2165, allocations: 157.9 kB / 448.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.2165, allocations: 29.7 kB / 448.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.2166, allocations: 112.8 kB / 448.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.2166, allocations: 22.55 kB / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2166, allocations: 28.34 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.479e-05/0.2166, allocations: 321.6 kB / 449 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.2167, allocations: 57.73 kB / 449.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2168, allocations: 150.3 kB / 449.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.217, allocations: 134.9 kB / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.217, allocations: 0 / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002408/0.2173, allocations: 174.8 kB / 449.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.2173, allocations: 9.5 kB / 449.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.2173, allocations: 0 / 449.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.2173, allocations: 2.938 kB / 449.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.2176, allocations: 84.31 kB / 449.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006191/0.2182, allocations: 1.377 MB / 451 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.2183, allocations: 28.05 kB / 451 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2183, allocations: 4.438 kB / 451 MB, free: 39.91 MB / 410.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 (9): * Single equations (assignments): 8 * 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.083e-05/0.2183, allocations: 120.7 kB / 451.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.2183, allocations: 13.67 kB / 451.2 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.2186, allocations: 174.6 kB / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.2186, allocations: 0 / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.2186, allocations: 0 / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2186, allocations: 4 kB / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.2189, allocations: 378.4 kB / 451.7 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2189, allocations: 0 / 451.7 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.219, allocations: 41.8 kB / 451.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.219, allocations: 0 / 451.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.219, allocations: 0 / 451.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.219, allocations: 2.875 kB / 451.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.219, allocations: 0 / 451.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.2192, allocations: 260.1 kB / 452 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.2192, allocations: 13.8 kB / 452 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.2192, allocations: 2.938 kB / 452 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.2193, allocations: 20.81 kB / 452 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2193, allocations: 9.859 kB / 452 MB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2194, allocations: 0 / 452 MB, free: 39.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.2194, allocations: 113.9 kB / 452.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2194, allocations: 3.938 kB / 452.2 MB, free: 39.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.2195, allocations: 29.91 kB / 452.2 MB, free: 39.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.43e-05/0.2196, allocations: 96.7 kB / 452.3 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.22, allocations: 170.9 kB / 452.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.22, allocations: 3.938 kB / 452.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2201, allocations: 59.66 kB / 452.5 MB, free: 39.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2204, allocations: 21.33 kB / 452.5 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.221, allocations: 394.6 kB / 452.9 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.2211, allocations: 89.8 kB / 453 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.2211, allocations: 18.22 kB / 453 MB, free: 38.71 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2211, allocations: 2.812 kB / 453 MB, free: 38.71 MB / 410.7 MB Notification: Performance of Templates: time 0.002178/0.2233, allocations: 1.9 MB / 454.9 MB, free: 38.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.582195887342095]