Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001064/0.001064, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001785/0.002849, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009485/0.0009485, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002444, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9359/0.9359, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.18/1.116, allocations: 52.49 MB / 238.5 MB, free: 7.641 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1678/0.1678, allocations: 32.8 MB / 272 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02425/0.1921, allocations: 12.54 MB / 284.5 MB, free: 9.73 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.117e-05, allocations: 2.312 kB / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002224/0.002245, allocations: 1.97 MB / 287.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006997/0.002944, allocations: 0.5414 MB / 288.3 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.003006, allocations: 4 kB / 288.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.003047, allocations: 15.86 kB / 288.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.00315, allocations: 47.62 kB / 288.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.003339, allocations: 75.77 kB / 288.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003478, allocations: 155.4 kB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.003566, allocations: 25.95 kB / 288.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.003741, allocations: 119.7 kB / 288.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.003822, allocations: 51.86 kB / 288.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.003847, allocations: 12 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.003868, allocations: 16 kB / 288.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.003906, allocations: 19.94 kB / 288.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.00394, allocations: 39.88 kB / 288.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.004071, allocations: 87.69 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.004082, allocations: 0 / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004083, allocations: 0 / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.004091, allocations: 0 / 289 MB, free: 5.258 MB / 282.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.0004415/0.004532, allocations: 348.1 kB / 289.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.004559, allocations: 19.95 kB / 289.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.004595, allocations: 12.94 kB / 289.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.004694, allocations: 129.6 kB / 289.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.004704, allocations: 12.3 kB / 289.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.004728, allocations: 12.38 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.004923, allocations: 168.8 kB / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.004931, allocations: 192 / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.00494, allocations: 384 / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004946, allocations: 7.938 kB / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.004991, allocations: 26.64 kB / 289.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.0054, allocations: 279.1 kB / 290 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.005468, allocations: 34.5 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.005633, allocations: 12.86 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.005644, allocations: 0 / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.005665, allocations: 34.56 kB / 290.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.005666, allocations: 0 / 290.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003697/0.006036, allocations: 121.5 kB / 290.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.006059, allocations: 59.41 kB / 290.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.00614, allocations: 146.6 kB / 290.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.006154, allocations: 25.7 kB / 290.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.006203, allocations: 112.2 kB / 290.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.006217, allocations: 19.84 kB / 290.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.006253, allocations: 21.7 kB / 290.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.006321, allocations: 326.8 kB / 290.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.006344, allocations: 8 kB / 290.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.006398, allocations: 103.6 kB / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.36e-05/0.006451, allocations: 46.64 kB / 291 MB, free: 3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.006454, allocations: 4 kB / 291 MB, free: 2.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.833e-05/0.006543, allocations: 73.59 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.006554, allocations: 4 kB / 291.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006559, allocations: 0 / 291.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.006568, allocations: 4 kB / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.006846, allocations: 91.91 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007089/0.007555, allocations: 1.276 MB / 292.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.007636, allocations: 16.14 kB / 292.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.007643, allocations: 8 kB / 292.5 MB, free: 1.434 MB / 282.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.775e-05/0.0077, allocations: 113.8 kB / 292.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.007721, allocations: 7.984 kB / 292.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.659e-05/0.007808, allocations: 70.38 kB / 292.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00781, allocations: 7.938 kB / 292.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-07/0.007811, allocations: 0 / 292.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007813, allocations: 0 / 292.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.008043, allocations: 234.7 kB / 292.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.008044, allocations: 4 kB / 292.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.008108, allocations: 27.98 kB / 293 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.00812, allocations: 11.89 kB / 293 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008123, allocations: 7.938 kB / 293 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.008129, allocations: 0 / 293 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.00813, allocations: 0 / 293 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008131, allocations: 0 / 293 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.528e-05/0.008217, allocations: 147.5 kB / 293.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.00823, allocations: 7.938 kB / 293.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.008297, allocations: 15.98 kB / 293.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.008329, allocations: 15.92 kB / 293.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.008333, allocations: 0 / 293.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.954e-05/0.008363, allocations: 35.41 kB / 293.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008363, allocations: 0 / 293.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.008516, allocations: 28 kB / 293.2 MB, free: 0.6484 MB / 282.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 6.653e-05/0.008582, allocations: 76.42 kB / 293.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.008918, allocations: 97.75 kB / 293.4 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.008928, allocations: 0 / 293.4 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.008985, allocations: 36.78 kB / 293.4 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.009171, allocations: 83.33 kB / 293.5 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.01002, allocations: 309.5 kB / 293.8 MB, free: 0 / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.01007, allocations: 63.34 kB / 293.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.01011, allocations: 12.48 kB / 293.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.01021, allocations: 75.34 kB / 294 MB, free: 15.83 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01021, allocations: 0 / 294 MB, free: 15.83 MB / 298.7 MB Notification: Performance of Templates: time 0.003687/0.0139, allocations: 1.984 MB / 296 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.71640173625201]