Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002549, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.00262, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9734/0.9734, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.08, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2617/0.2617, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02389/0.2856, allocations: 13.23 MB / 292.6 MB, free: 6.449 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 293.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.942e-05, allocations: 4.422 kB / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00419/0.004209, allocations: 3.539 MB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.00565, allocations: 0.8465 MB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.005821, allocations: 8 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.005968, allocations: 79.22 kB / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.006214, allocations: 138.7 kB / 298.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.0065, allocations: 131.7 kB / 298.6 MB, free: 432 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.007007, allocations: 0.5335 MB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.00728, allocations: 188.2 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.007672, allocations: 345 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.00814, allocations: 171.5 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.008223, allocations: 52 kB / 299.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.008289, allocations: 48 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.008364, allocations: 83.69 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.008511, allocations: 143.8 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.008934, allocations: 334.8 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.008949, allocations: 0 / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00895, allocations: 0 / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.008967, allocations: 3.938 kB / 300.5 MB, free: 14.54 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.001064/0.01003, allocations: 0.7698 MB / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01007, allocations: 8.922 kB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.01021, allocations: 76.88 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.01053, allocations: 210 kB / 301.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.01057, allocations: 33.38 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.01063, allocations: 48.38 kB / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.01111, allocations: 411.8 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01112, allocations: 192 / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.01115, allocations: 20.38 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.01117, allocations: 15.94 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.01137, allocations: 120 kB / 302.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.01309, allocations: 1.317 MB / 303.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.01335, allocations: 157.9 kB / 303.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.01346, allocations: 69.69 kB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.01348, allocations: 7.984 kB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.01351, allocations: 42.5 kB / 303.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.01351, allocations: 0 / 303.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001622/0.01514, allocations: 0.8431 MB / 304.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.01517, allocations: 81.11 kB / 304.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.01534, allocations: 248.8 kB / 304.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01537, allocations: 29.7 kB / 304.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.0155, allocations: 248 kB / 305.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.01559, allocations: 130.9 kB / 305.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/0.01568, allocations: 74.12 kB / 305.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01579, allocations: 342.7 kB / 305.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.01586, allocations: 44.97 kB / 305.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.01599, allocations: 160.9 kB / 305.9 MB, free: 8.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.01623, allocations: 217.2 kB / 306.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01623, allocations: 0 / 306.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003477/0.01658, allocations: 250.7 kB / 306.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01659, allocations: 8 kB / 306.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.0166, allocations: 4.375 kB / 306.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.01672, allocations: 28.84 kB / 306.4 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.01737, allocations: 155.8 kB / 306.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006913/0.01806, allocations: 1.206 MB / 307.8 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.0182, allocations: 19.98 kB / 307.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.01822, allocations: 12 kB / 307.8 MB, free: 6.695 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.0001024/0.01833, allocations: 137.7 kB / 307.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.01839, allocations: 31.97 kB / 308 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.01844, allocations: 38.11 kB / 308 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01844, allocations: 7.938 kB / 308 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01845, allocations: 4.031 kB / 308 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.01845, allocations: 4 kB / 308 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.01906, allocations: 407.5 kB / 308.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01906, allocations: 0 / 308.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.01944, allocations: 124.7 kB / 308.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.01951, allocations: 27.81 kB / 308.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.01958, allocations: 32.75 kB / 308.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.0196, allocations: 8 kB / 308.6 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006489/0.02025, allocations: 1.181 MB / 309.8 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.02025, allocations: 4 kB / 309.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.02063, allocations: 431.1 kB / 310.2 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.02066, allocations: 4 kB / 310.2 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.02083, allocations: 16 kB / 310.2 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.02087, allocations: 23.95 kB / 310.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.02089, allocations: 11.98 kB / 310.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.02096, allocations: 78.78 kB / 310.3 MB, free: 4.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02096, allocations: 0 / 310.3 MB, free: 4.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.02132, allocations: 88 kB / 310.4 MB, free: 3.918 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 9.324e-05/0.02142, allocations: 92.36 kB / 310.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.02177, allocations: 296 kB / 310.8 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/0.02178, allocations: 4.5 kB / 310.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.02196, allocations: 201 kB / 311 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.02238, allocations: 81.58 kB / 311.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.02589, allocations: 0.8426 MB / 311.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.112e-05/0.02598, allocations: 117.2 kB / 312 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.02611, allocations: 39 kB / 312.1 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.02626, allocations: 111.3 kB / 312.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02626, allocations: 0 / 312.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of Templates: time 0.006986/0.03325, allocations: 3.663 MB / 315.9 MB, free: 14.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.7670248160138726]