Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001024/0.001024, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002415, 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.0007889/0.0007889, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001827, 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.074/1.074, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1073/1.182, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2795/0.2795, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04673/0.3262, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.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.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.536e-05, allocations: 4.203 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005401/0.005427, allocations: 3.542 MB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.007663, allocations: 0.8487 MB / 295 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.007931, allocations: 11.94 kB / 295 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.008123, allocations: 79.28 kB / 295.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.008488, allocations: 138.6 kB / 295.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.00888, allocations: 127.8 kB / 295.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.009528, allocations: 0.5389 MB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.009847, allocations: 180.3 kB / 296 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.0104, allocations: 357 kB / 296.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.0107, allocations: 171.5 kB / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-05/0.01078, allocations: 48 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.01087, allocations: 52 kB / 296.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.01095, allocations: 79.75 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.01115, allocations: 147.7 kB / 296.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.01164, allocations: 334.8 kB / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.166e-05/0.01166, allocations: 0 / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01166, allocations: 0 / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.01169, allocations: 4 kB / 297.2 MB, free: 1.676 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0013/0.01299, allocations: 0.7654 MB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.01303, allocations: 12.03 kB / 298 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.01315, allocations: 76.89 kB / 298.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.01352, allocations: 206 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.01357, allocations: 37.38 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.01365, allocations: 48.38 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.01429, allocations: 411.8 kB / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.01431, allocations: 192 / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.01435, allocations: 20.38 kB / 298.8 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.01437, allocations: 15.94 kB / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.01466, allocations: 128 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.01637, allocations: 1.301 MB / 300.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.01659, allocations: 154 kB / 300.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.01668, allocations: 77.67 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.0167, allocations: 4 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01672, allocations: 38.56 kB / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.01673, allocations: 0 / 300.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001496/0.01822, allocations: 0.8544 MB / 301.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.01826, allocations: 81.11 kB / 301.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01842, allocations: 244.8 kB / 301.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.01843, allocations: 29.7 kB / 301.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01855, allocations: 252 kB / 301.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.01862, allocations: 122.9 kB / 302 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.0187, allocations: 78.11 kB / 302.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01881, allocations: 346.8 kB / 302.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.01886, allocations: 40.98 kB / 302.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.01897, allocations: 148.9 kB / 302.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.01915, allocations: 228.1 kB / 302.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01916, allocations: 0 / 302.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002645/0.01942, allocations: 248.4 kB / 303.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.01944, allocations: 8.375 kB / 303.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.01945, allocations: 8 kB / 303.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.01958, allocations: 24.84 kB / 303.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.01994, allocations: 161.4 kB / 303.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006774/0.02062, allocations: 1.198 MB / 304.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.02072, allocations: 12 kB / 304.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.02074, allocations: 12 kB / 304.5 MB, free: 9.855 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.02085, allocations: 133.7 kB / 304.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.02089, allocations: 28.11 kB / 304.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.02096, allocations: 46.09 kB / 304.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.02097, allocations: 15.91 kB / 304.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.02097, allocations: 0 / 304.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.02098, allocations: 0 / 304.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.02146, allocations: 409 kB / 305.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02146, allocations: 0 / 305.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.02179, allocations: 127.9 kB / 305.3 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.02185, allocations: 31.8 kB / 305.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.708e-05/0.02191, allocations: 24.83 kB / 305.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.02193, allocations: 12 kB / 305.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005906/0.02252, allocations: 1.182 MB / 306.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02252, allocations: 32 / 306.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.02284, allocations: 432.8 kB / 306.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.02286, allocations: 8 kB / 307 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.02297, allocations: 15.98 kB / 307 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.02303, allocations: 31.89 kB / 307 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.02304, allocations: 8 kB / 307 MB, free: 7.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.0231, allocations: 78.78 kB / 307.1 MB, free: 7.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0231, allocations: 0 / 307.1 MB, free: 7.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.02336, allocations: 88 kB / 307.2 MB, free: 7.062 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.02347, allocations: 96.34 kB / 307.3 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.02378, allocations: 296 kB / 307.6 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.02379, allocations: 4 kB / 307.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.02391, allocations: 204.1 kB / 307.8 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.0242, allocations: 70.64 kB / 307.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.02689, allocations: 0.8506 MB / 308.7 MB, free: 5.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.02696, allocations: 109.3 kB / 308.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.929e-05/0.02706, allocations: 39 kB / 308.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.02719, allocations: 115.3 kB / 308.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02719, allocations: 0 / 308.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of Templates: time 0.006397/0.03358, allocations: 3.678 MB / 312.6 MB, free: 1.578 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.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: 3.4267352176830173]