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.001864/0.001864, allocations: 69.33 kB / 21.24 MB, free: 0.5547 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.001854/0.001854, allocations: 162.2 kB / 24.5 MB, free: 3.711 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.482/1.482, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2184/0.2184, allocations: 34.27 MB / 295.5 MB, free: 14.54 MB / 286.1 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 0.002131/0.002131, allocations: 67.89 kB / 443.1 MB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3161, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002688/0.3188, allocations: 1.868 MB / 0.499 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000844/0.3196, allocations: 0.5535 MB / 0.4996 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.3197, allocations: 3.188 kB / 0.4996 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.667e-05/0.3197, allocations: 15.33 kB / 0.4996 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.3199, allocations: 34.06 kB / 0.4996 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.3202, allocations: 87.12 kB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3203, allocations: 153.4 kB / 0.4999 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3204, allocations: 22.53 kB / 0.4999 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.3206, allocations: 86.39 kB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3207, allocations: 60.83 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3208, allocations: 13 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.3208, allocations: 20.47 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.3208, allocations: 29.84 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.3209, allocations: 50.53 kB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.3211, allocations: 142.1 kB / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3211, allocations: 0 / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3211, allocations: 0 / 0.5003 GB, free: 27.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3211, allocations: 0 / 0.5003 GB, free: 27.86 MB / 446.1 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.0007138/0.3218, allocations: 380.2 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3218, allocations: 9.844 kB / 0.5006 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.3221, allocations: 48.17 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3223, allocations: 131.5 kB / 0.5008 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3223, allocations: 7.688 kB / 0.5008 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3223, allocations: 3.562 kB / 0.5008 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3226, allocations: 192.9 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3226, allocations: 3.469 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3227, allocations: 4 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3227, allocations: 4 kB / 0.501 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.323, allocations: 95.31 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.3236, allocations: 363.2 kB / 0.5015 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.3239, allocations: 92.55 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.324, allocations: 37.92 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3241, allocations: 3.062 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3241, allocations: 38.03 kB / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3241, allocations: 0 / 0.5016 GB, free: 26.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001312/0.3254, allocations: 310.4 kB / 0.5019 GB, free: 26.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3254, allocations: 106.1 kB / 0.502 GB, free: 26.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3255, allocations: 156.4 kB / 0.5022 GB, free: 26.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3255, allocations: 33.64 kB / 0.5022 GB, free: 26.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.3256, allocations: 117.3 kB / 0.5023 GB, free: 26.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3256, allocations: 22.69 kB / 0.5023 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.3257, allocations: 23.36 kB / 0.5024 GB, free: 26.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.3257, allocations: 321.5 kB / 0.5027 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3259, allocations: 57.58 kB / 0.5027 GB, free: 25.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3262, allocations: 158 kB / 0.5029 GB, free: 25.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.3266, allocations: 134.1 kB / 0.503 GB, free: 25.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3266, allocations: 0 / 0.503 GB, free: 25.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00047/0.327, allocations: 175.8 kB / 0.5032 GB, free: 25.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.327, allocations: 9.281 kB / 0.5032 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3271, allocations: 1.438 kB / 0.5032 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3271, allocations: 5.375 kB / 0.5032 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.3277, allocations: 85.44 kB / 0.5033 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.3287, allocations: 1.377 MB / 0.5046 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3289, allocations: 30.02 kB / 0.5046 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3289, allocations: 3.094 kB / 0.5046 GB, free: 24.33 MB / 446.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 (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 7.752e-05/0.329, allocations: 127.8 kB / 0.5048 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.329, allocations: 11.2 kB / 0.5048 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.3295, allocations: 167.8 kB / 0.5049 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3295, allocations: 2.875 kB / 0.5049 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.3295, allocations: 0 / 0.5049 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3295, allocations: 4 kB / 0.5049 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.3302, allocations: 388.2 kB / 0.5053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3302, allocations: 0 / 0.5053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.3303, allocations: 29.34 kB / 0.5053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3304, allocations: 0 / 0.5053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3304, allocations: 2.844 kB / 0.5053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3304, allocations: 0 / 0.5053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3304, allocations: 0 / 0.5053 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.3308, allocations: 262.2 kB / 0.5056 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.3308, allocations: 7.172 kB / 0.5056 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3308, allocations: 4 kB / 0.5056 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3311, allocations: 22.47 kB / 0.5056 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.3311, allocations: 3 kB / 0.5056 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3311, allocations: 3.125 kB / 0.5056 GB, free: 23.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.3312, allocations: 119.4 kB / 0.5057 GB, free: 23.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 0 / 0.5057 GB, free: 23.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3314, allocations: 33.41 kB / 0.5058 GB, free: 23.56 MB / 446.1 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 6.668e-05/0.3315, allocations: 102.5 kB / 0.5059 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.3323, allocations: 171.7 kB / 0.506 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3323, allocations: 0 / 0.506 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.3325, allocations: 62.47 kB / 0.5061 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3329, allocations: 18.84 kB / 0.5061 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.334, allocations: 372.9 kB / 0.5065 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.3341, allocations: 96.53 kB / 0.5066 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.3342, allocations: 13.97 kB / 0.5066 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.3342, allocations: 22.47 kB / 0.5066 GB, free: 23.13 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3342, allocations: 0 / 0.5066 GB, free: 23.13 MB / 446.1 MB Notification: Performance of Templates: time 0.004608/0.3388, allocations: 1.87 MB / 0.5084 GB, free: 22.86 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/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.922663307981566]