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.001014/0.001014, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.00177/0.00177, allocations: 161.5 kB / 25.61 MB, free: 8.582 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 0.961/0.961, allocations: 177 MB / 205.9 MB, free: 4.469 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.1512/0.1512, allocations: 34.86 MB / 297.4 MB, free: 13.34 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.252e-06/1.252e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.333e-05, allocations: 3.156 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003036/0.003059, allocations: 3.467 MB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.004322, allocations: 0.8061 MB / 384.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.00452, allocations: 11.94 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.004693, allocations: 75.23 kB / 384.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.004908, allocations: 138.7 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.005219, allocations: 139.7 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.005612, allocations: 0.5333 MB / 385.2 MB, free: 17.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.005844, allocations: 170.3 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.006107, allocations: 323.3 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.006272, allocations: 175.5 kB / 385.8 MB, free: 16.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.006319, allocations: 48 kB / 385.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-05/0.006358, allocations: 48 kB / 385.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.006413, allocations: 119.6 kB / 386 MB, free: 16.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.006513, allocations: 175.6 kB / 386.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.006823, allocations: 370.6 kB / 386.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.006827, allocations: 0 / 386.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.006828, allocations: 0 / 386.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.006836, allocations: 0 / 386.6 MB, free: 16.18 MB / 314.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.0007447/0.007581, allocations: 0.7882 MB / 387.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.00762, allocations: 8.031 kB / 387.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.007705, allocations: 92.61 kB / 387.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.007939, allocations: 252.9 kB / 387.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.007969, allocations: 37.38 kB / 387.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.008014, allocations: 44.33 kB / 387.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.008376, allocations: 416.3 kB / 388.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.00839, allocations: 4.188 kB / 388.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.008415, allocations: 16.38 kB / 388.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.008424, allocations: 15.94 kB / 388.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.008588, allocations: 143.9 kB / 388.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.009839, allocations: 1.591 MB / 389.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.01005, allocations: 182 kB / 390.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.01014, allocations: 87.31 kB / 390.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.01016, allocations: 4 kB / 390.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01018, allocations: 45.38 kB / 390.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.003e-06/0.01018, allocations: 3.938 kB / 390.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.00114/0.01132, allocations: 0.8326 MB / 391.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.01134, allocations: 85.11 kB / 391.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.01147, allocations: 296.1 kB / 391.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.01148, allocations: 33.7 kB / 391.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.01156, allocations: 310.8 kB / 391.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.01161, allocations: 134.9 kB / 391.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.01167, allocations: 75.83 kB / 392 MB, free: 10.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.01174, allocations: 0.5117 MB / 392.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.01179, allocations: 40.97 kB / 392.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.01188, allocations: 192.5 kB / 392.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.01205, allocations: 263.6 kB / 393 MB, free: 9.234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.01205, allocations: 0 / 393 MB, free: 9.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002946/0.01234, allocations: 319.1 kB / 393.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01236, allocations: 8 kB / 393.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01236, allocations: 0 / 393.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.01249, allocations: 32.05 kB / 393.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.01272, allocations: 119.8 kB / 393.5 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005885/0.01331, allocations: 1.753 MB / 395.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01343, allocations: 16 kB / 395.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01344, allocations: 12 kB / 395.3 MB, free: 6.852 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 9.672e-05/0.01354, allocations: 188.5 kB / 395.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.01359, allocations: 39.81 kB / 395.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.01363, allocations: 34.12 kB / 395.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01363, allocations: 11.92 kB / 395.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01364, allocations: 0 / 395.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01364, allocations: 0 / 395.5 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.0141, allocations: 0.5319 MB / 396.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.0141, allocations: 4.062 kB / 396.1 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.01429, allocations: 83.89 kB / 396.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-05/0.01436, allocations: 27.67 kB / 396.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01438, allocations: 15.92 kB / 396.2 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004527/0.01483, allocations: 1.742 MB / 397.9 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01483, allocations: 0 / 397.9 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.01514, allocations: 0.5435 MB / 398.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.01519, allocations: 47.77 kB / 398.5 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.01521, allocations: 12 kB / 398.5 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.01533, allocations: 19.94 kB / 398.5 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.01538, allocations: 27.89 kB / 398.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01539, allocations: 7.984 kB / 398.6 MB, free: 3.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.144e-05/0.01545, allocations: 201.1 kB / 398.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01545, allocations: 0 / 398.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000278/0.01573, allocations: 92 kB / 398.9 MB, free: 3.035 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 8.241e-05/0.01581, allocations: 99.19 kB / 399 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.01612, allocations: 359.6 kB / 399.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01612, allocations: 0 / 399.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.01624, allocations: 279.4 kB / 399.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.01655, allocations: 40.42 kB / 399.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/0.01751, allocations: 0.8159 MB / 400.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.702e-05/0.01757, allocations: 109.3 kB / 400.5 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.98e-05/0.01766, allocations: 34.95 kB / 400.6 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.01776, allocations: 122.2 kB / 400.7 MB, free: 1.074 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01776, allocations: 4 kB / 400.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of Templates: time 0.005773/0.02354, allocations: 3.285 MB / 404 MB, free: 13.85 MB / 330.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 -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.153670135885477]