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.0007392/0.0007392, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.00174, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006812/0.0006812, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008417/0.001523, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08974/1.108, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.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.2683/0.2683, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02738/0.2957, allocations: 13.09 MB / 291.3 MB, free: 7.371 MB / 282.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 2.275e-06/2.275e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.195e-05, allocations: 5.016 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.005992/0.006024, allocations: 1.978 MB / 294.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.007026, allocations: 0.5849 MB / 295.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.007086, allocations: 4 kB / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.007123, allocations: 11.86 kB / 295.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.007249, allocations: 47.62 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.007477, allocations: 75.77 kB / 295.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.007631, allocations: 163.4 kB / 295.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.007702, allocations: 25.95 kB / 295.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.007917, allocations: 119.7 kB / 295.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.007995, allocations: 55.8 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.008017, allocations: 12 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.008074, allocations: 16 kB / 295.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.008095, allocations: 23.94 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.008139, allocations: 39.94 kB / 295.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.00828, allocations: 87.67 kB / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.008288, allocations: 0 / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008289, allocations: 0 / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.008299, allocations: 3.984 kB / 295.8 MB, free: 3.055 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.003663/0.01196, allocations: 361.3 kB / 296.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.012, allocations: 12.62 kB / 296.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.01228, allocations: 129.9 kB / 296.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.01242, allocations: 123.3 kB / 296.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.01243, allocations: 5.312 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.01246, allocations: 8.375 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.01274, allocations: 176.7 kB / 296.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01275, allocations: 192 / 296.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.01277, allocations: 4.375 kB / 296.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01277, allocations: 7.922 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.01284, allocations: 22.17 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.0134, allocations: 283.1 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.0135, allocations: 30.56 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.01353, allocations: 8.859 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.01355, allocations: 4.078 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.01358, allocations: 38.56 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.01358, allocations: 4 kB / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005427/0.01412, allocations: 117.4 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.01416, allocations: 51.41 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.01726, allocations: 142.6 kB / 297.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.01728, allocations: 37.64 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.01735, allocations: 104.2 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.01738, allocations: 19.86 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.01744, allocations: 29.69 kB / 297.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01755, allocations: 326.8 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.01759, allocations: 11.98 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.629e-05/0.01768, allocations: 87.7 kB / 297.9 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.715e-05/0.01775, allocations: 54.47 kB / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.01775, allocations: 0 / 298 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001158/0.01787, allocations: 73.59 kB / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01788, allocations: 4 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01789, allocations: 0 / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.0179, allocations: 4 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.01827, allocations: 88.06 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009662/0.01924, allocations: 1.28 MB / 299.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.01935, allocations: 20.02 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.01936, allocations: 0 / 299.5 MB, free: 15.11 MB / 298.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 7.625e-05/0.01944, allocations: 113.8 kB / 299.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.01947, allocations: 11.92 kB / 299.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.01958, allocations: 70.44 kB / 299.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.01958, allocations: 3.938 kB / 299.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.01958, allocations: 0 / 299.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01958, allocations: 0 / 299.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.0199, allocations: 234.7 kB / 299.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0199, allocations: 4 kB / 299.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-05/0.02, allocations: 23.97 kB / 299.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.02002, allocations: 7.906 kB / 299.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.02002, allocations: 7.938 kB / 299.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.02003, allocations: 0 / 299.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.02003, allocations: 0 / 299.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02003, allocations: 0 / 299.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.02317, allocations: 159.5 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.02319, allocations: 7.938 kB / 300.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.0233, allocations: 11.98 kB / 300.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.02334, allocations: 11.98 kB / 300.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.02334, allocations: 0 / 300.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.859e-05/0.02338, allocations: 31.23 kB / 300.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02338, allocations: 0 / 300.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.02359, allocations: 32 kB / 300.2 MB, free: 14.33 MB / 298.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 8.286e-05/0.02367, allocations: 76.41 kB / 300.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.02399, allocations: 93.59 kB / 300.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.024, allocations: 3.984 kB / 300.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.02404, allocations: 24.78 kB / 300.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.02424, allocations: 29.08 kB / 300.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.02525, allocations: 321.2 kB / 300.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.02528, allocations: 63.34 kB / 300.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.02535, allocations: 16.47 kB / 300.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.02546, allocations: 75.34 kB / 300.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02546, allocations: 0 / 300.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.01014/0.0356, allocations: 1.995 MB / 302.9 MB, free: 11.62 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] 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","",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.8524937396869063]