Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007715/0.0007715, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001836, 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.0006746/0.0006746, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.001995, 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.092/1.092, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.195, allocations: 53.65 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.2518/0.2518, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02346/0.2752, allocations: 13.1 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.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.062e-05, allocations: 3.188 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003056/0.003067, allocations: 3.533 MB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004244, allocations: 0.8533 MB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.00439, allocations: 11.94 kB / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.004499, allocations: 75.28 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.004688, allocations: 142.7 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.004915, allocations: 127.7 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.005285, allocations: 0.5382 MB / 297.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.005492, allocations: 184.3 kB / 298.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.005788, allocations: 349 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.005965, allocations: 179.4 kB / 298.6 MB, free: 320 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.006021, allocations: 52 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.006065, allocations: 48 kB / 298.7 MB, free: 220 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.006126, allocations: 79.75 kB / 298.8 MB, free: 140 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.006242, allocations: 147.7 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.006532, allocations: 330.8 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.006546, allocations: 0 / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006546, allocations: 0 / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.006562, allocations: 3.984 kB / 299.2 MB, free: 15.66 MB / 298.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.0008478/0.00741, allocations: 0.7659 MB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.00744, allocations: 8.031 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.007518, allocations: 72.89 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.007771, allocations: 218 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.007805, allocations: 37.38 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.007858, allocations: 52.3 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.008248, allocations: 407.8 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.00826, allocations: 192 / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.008283, allocations: 24.38 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.008294, allocations: 11.94 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.00844, allocations: 120 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.009728, allocations: 1.305 MB / 302.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.009935, allocations: 161 kB / 302.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.01004, allocations: 74.78 kB / 302.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.01006, allocations: 4 kB / 302.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.01009, allocations: 42.56 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.01009, allocations: 0 / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001407/0.0115, allocations: 0.8484 MB / 303.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.01155, allocations: 85.11 kB / 303.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.01172, allocations: 240.8 kB / 303.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.01174, allocations: 33.7 kB / 303.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01185, allocations: 252 kB / 304 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.01192, allocations: 130.9 kB / 304.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.012, allocations: 78.11 kB / 304.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.0121, allocations: 334.8 kB / 304.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.01215, allocations: 36.98 kB / 304.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.01225, allocations: 156.9 kB / 304.7 MB, free: 9.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.01242, allocations: 219.6 kB / 304.9 MB, free: 9.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.01243, allocations: 0 / 304.9 MB, free: 9.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002382/0.01266, allocations: 249.9 kB / 305.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.01268, allocations: 4 kB / 305.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01268, allocations: 4 kB / 305.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.01279, allocations: 37.2 kB / 305.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.01312, allocations: 158.9 kB / 305.3 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006789/0.0138, allocations: 1.195 MB / 306.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01391, allocations: 16 kB / 306.5 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.01393, allocations: 12 kB / 306.6 MB, free: 7.84 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.0001096/0.01404, allocations: 129.8 kB / 306.7 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.01408, allocations: 35.91 kB / 306.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.01412, allocations: 34.11 kB / 306.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01413, allocations: 7.938 kB / 306.8 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.01414, allocations: 4 kB / 306.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.01414, allocations: 8.016 kB / 306.8 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.0146, allocations: 409 kB / 307.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.0146, allocations: 0 / 307.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.01488, allocations: 123.8 kB / 307.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.01494, allocations: 31.8 kB / 307.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.409e-05/0.015, allocations: 28.91 kB / 307.3 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01502, allocations: 8 kB / 307.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005433/0.01556, allocations: 1.19 MB / 308.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01556, allocations: 4 kB / 308.5 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.01588, allocations: 421.5 kB / 309 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.01591, allocations: 11.94 kB / 309 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.01602, allocations: 19.98 kB / 309 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.01607, allocations: 27.89 kB / 309 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.01608, allocations: 4 kB / 309 MB, free: 5.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.358e-05/0.01614, allocations: 86.75 kB / 309.1 MB, free: 5.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01614, allocations: 0 / 309.1 MB, free: 5.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.0164, allocations: 92 kB / 309.2 MB, free: 5.043 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 8.744e-05/0.01648, allocations: 88.36 kB / 309.3 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.01679, allocations: 299 kB / 309.6 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.01681, allocations: 8.5 kB / 309.6 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01695, allocations: 201.3 kB / 309.8 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01723, allocations: 81.34 kB / 309.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.01968, allocations: 0.8373 MB / 310.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.361e-05/0.01976, allocations: 117.3 kB / 310.8 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.698e-05/0.01986, allocations: 30.97 kB / 310.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.01998, allocations: 115.3 kB / 311 MB, free: 3.176 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01998, allocations: 0 / 311 MB, free: 3.176 MB / 298.7 MB Notification: Performance of Templates: time 0.005697/0.02568, allocations: 3.682 MB / 314.6 MB, free: 15.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.926940832287073]