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.001075/0.001075, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0017/0.0017, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 1.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.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.2671/0.2671, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.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.673e-06/1.673e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.194e-05, allocations: 2.312 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003302/0.003324, allocations: 3.527 MB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.00443, allocations: 0.8426 MB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.00456, allocations: 11.94 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.0047, allocations: 71.3 kB / 330.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.00487, allocations: 138.7 kB / 330.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.005097, allocations: 135.7 kB / 330.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.00543, allocations: 0.5418 MB / 331.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.00561, allocations: 172.3 kB / 331.4 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.005827, allocations: 327.3 kB / 331.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.005982, allocations: 175.5 kB / 331.9 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.006025, allocations: 48 kB / 331.9 MB, free: 1.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.006065, allocations: 48 kB / 332 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.006128, allocations: 111.6 kB / 332.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.006232, allocations: 183.6 kB / 332.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.006503, allocations: 362.7 kB / 332.6 MB, free: 460 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006505, allocations: 0 / 332.6 MB, free: 460 kB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006506, allocations: 0 / 332.6 MB, free: 460 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.00651, allocations: 0 / 332.6 MB, free: 460 kB / 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.0006229/0.007133, allocations: 0.6687 MB / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.558e-05/0.007158, allocations: 8.031 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.007224, allocations: 76.83 kB / 333.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.007422, allocations: 210 kB / 333.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.007448, allocations: 37.38 kB / 333.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.007486, allocations: 48.38 kB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.007819, allocations: 415.8 kB / 334 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.00783, allocations: 4.188 kB / 334 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.00785, allocations: 20.38 kB / 334.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.007859, allocations: 15.94 kB / 334.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.007996, allocations: 116 kB / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.009161, allocations: 1.293 MB / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.009346, allocations: 161 kB / 335.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.009428, allocations: 69.67 kB / 335.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.009442, allocations: 4 kB / 335.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.009462, allocations: 42.56 kB / 335.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.009464, allocations: 0 / 335.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001164/0.01063, allocations: 0.8544 MB / 336.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.01065, allocations: 81.11 kB / 336.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.01078, allocations: 240.9 kB / 336.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.0108, allocations: 29.7 kB / 337 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.01088, allocations: 252.1 kB / 337.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.01094, allocations: 126.9 kB / 337.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.011, allocations: 86.11 kB / 337.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.01109, allocations: 338.8 kB / 337.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.01113, allocations: 40.97 kB / 337.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.01123, allocations: 145 kB / 337.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.0114, allocations: 227.5 kB / 338.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0114, allocations: 7.938 kB / 338.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002315/0.01163, allocations: 247.3 kB / 338.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.01164, allocations: 8 kB / 338.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01165, allocations: 4 kB / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.611e-05/0.01174, allocations: 32.83 kB / 338.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.01204, allocations: 152.9 kB / 338.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005254/0.01256, allocations: 1.19 MB / 339.8 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/0.01265, allocations: 16 kB / 339.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01267, allocations: 12 kB / 339.8 MB, free: 8.742 MB / 314.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 8.258e-05/0.01275, allocations: 137.8 kB / 339.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.01279, allocations: 35.91 kB / 340 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.01283, allocations: 34.11 kB / 340 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01283, allocations: 7.938 kB / 340 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01283, allocations: 4 kB / 340 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01284, allocations: 3.984 kB / 340 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.01323, allocations: 397.1 kB / 340.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01323, allocations: 0 / 340.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.01349, allocations: 126.9 kB / 340.5 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-05/0.01354, allocations: 24.92 kB / 340.6 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01355, allocations: 12 kB / 340.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004695/0.01402, allocations: 1.191 MB / 341.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01402, allocations: 7.938 kB / 341.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.01429, allocations: 414.5 kB / 342.2 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.01433, allocations: 31.8 kB / 342.2 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01435, allocations: 8 kB / 342.2 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.01446, allocations: 16 kB / 342.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.0145, allocations: 31.88 kB / 342.3 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.01451, allocations: 8.031 kB / 342.3 MB, free: 6.125 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.308e-05/0.01456, allocations: 78.78 kB / 342.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01456, allocations: 0 / 342.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.0148, allocations: 92 kB / 342.4 MB, free: 5.957 MB / 314.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 6.555e-05/0.01487, allocations: 84.36 kB / 342.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.01513, allocations: 296.9 kB / 342.8 MB, free: 5.562 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.01514, allocations: 8.562 kB / 342.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.01526, allocations: 209.3 kB / 343 MB, free: 5.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01548, allocations: 45.69 kB / 343.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000851/0.01633, allocations: 0.7766 MB / 343.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.01639, allocations: 105.3 kB / 343.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.01648, allocations: 34.95 kB / 344 MB, free: 4.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.0166, allocations: 103.3 kB / 344.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.0166, allocations: 4 kB / 344.1 MB, free: 4.207 MB / 314.7 MB Notification: Performance of Templates: time 0.005133/0.02173, allocations: 3.509 MB / 347.6 MB, free: 0.7812 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 -s gbode -gbm=radauIIA3 -emit_protected -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: 3.0929941912181675]