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.001191/0.001191, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001525/0.001525, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9399/0.9399, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.1546/0.1546, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.313e-06/1.313e-06, allocations: 0 / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.803e-05, allocations: 2.312 kB / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.002838/0.002856, allocations: 3.472 MB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.003818, allocations: 0.8139 MB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.003957, allocations: 11.94 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.004098, allocations: 71.3 kB / 381.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.004255, allocations: 130.7 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.004499, allocations: 143.7 kB / 381.9 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.004772, allocations: 0.5333 MB / 382.4 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.004962, allocations: 170.3 kB / 382.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.005164, allocations: 327.3 kB / 382.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.005305, allocations: 171.5 kB / 383.1 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.005346, allocations: 48 kB / 383.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.005383, allocations: 52 kB / 383.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.005429, allocations: 115.6 kB / 383.3 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.005516, allocations: 175.6 kB / 383.4 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.005764, allocations: 370.6 kB / 383.8 MB, free: 19.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005766, allocations: 0 / 383.8 MB, free: 19.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005767, allocations: 0 / 383.8 MB, free: 19.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005772, allocations: 0 / 383.8 MB, free: 19.04 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.0006635/0.006435, allocations: 0.7999 MB / 384.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.006465, allocations: 11.98 kB / 384.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.006541, allocations: 88.61 kB / 384.7 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.006743, allocations: 252.9 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.006771, allocations: 41.38 kB / 385 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.00681, allocations: 52.33 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.00713, allocations: 400.4 kB / 385.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.007144, allocations: 12.11 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.007167, allocations: 20.38 kB / 385.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.007176, allocations: 15.94 kB / 385.5 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.00732, allocations: 132 kB / 385.6 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.00844, allocations: 1.584 MB / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.008631, allocations: 185.9 kB / 387.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.008719, allocations: 87.33 kB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.008735, allocations: 4 kB / 387.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.008754, allocations: 41.61 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.008756, allocations: 3.938 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001054/0.00981, allocations: 0.8339 MB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.009828, allocations: 89.03 kB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.009941, allocations: 296.1 kB / 388.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.009955, allocations: 33.7 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.01003, allocations: 310.8 kB / 389.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.01007, allocations: 126.9 kB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.01013, allocations: 79.81 kB / 389.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.01018, allocations: 0.5117 MB / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.01023, allocations: 40.97 kB / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.01031, allocations: 184.5 kB / 390 MB, free: 12.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01046, allocations: 280.7 kB / 390.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01046, allocations: 0 / 390.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002659/0.01073, allocations: 308.7 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01074, allocations: 8 kB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01075, allocations: 0 / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001202/0.01087, allocations: 32.05 kB / 390.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.01108, allocations: 119.9 kB / 390.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005154/0.0116, allocations: 1.76 MB / 392.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.0117, allocations: 12 kB / 392.5 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.01171, allocations: 16.02 kB / 392.5 MB, free: 9.695 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.318e-05/0.01179, allocations: 180.5 kB / 392.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.01185, allocations: 39.81 kB / 392.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.01188, allocations: 42.11 kB / 392.8 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01188, allocations: 7.938 kB / 392.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01189, allocations: 0 / 392.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01189, allocations: 0 / 392.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.01228, allocations: 0.535 MB / 393.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01229, allocations: 4.031 kB / 393.3 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.01247, allocations: 87.89 kB / 393.4 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.01253, allocations: 31.64 kB / 393.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01254, allocations: 8 kB / 393.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000367/0.01291, allocations: 1.741 MB / 395.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01291, allocations: 0 / 395.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.01318, allocations: 0.5451 MB / 395.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.01323, allocations: 47.78 kB / 395.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.01325, allocations: 8 kB / 395.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01337, allocations: 19.92 kB / 395.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.0134, allocations: 23.95 kB / 395.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01341, allocations: 12 kB / 395.8 MB, free: 6.172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.01347, allocations: 205.1 kB / 396 MB, free: 5.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01347, allocations: 0 / 396 MB, free: 5.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01372, allocations: 92 kB / 396.1 MB, free: 5.883 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 7.999e-05/0.0138, allocations: 107.2 kB / 396.2 MB, free: 5.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.01407, allocations: 350.8 kB / 396.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01407, allocations: 8 kB / 396.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01418, allocations: 274 kB / 396.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.01447, allocations: 51.44 kB / 396.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/0.01529, allocations: 0.8042 MB / 397.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.01534, allocations: 109.3 kB / 397.8 MB, free: 4.082 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.118e-05/0.01542, allocations: 34.95 kB / 397.8 MB, free: 4.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01552, allocations: 130.2 kB / 398 MB, free: 3.918 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01553, allocations: 3.938 kB / 398 MB, free: 3.914 MB / 314.7 MB Notification: Performance of Templates: time 0.004782/0.02031, allocations: 3.278 MB / 401.2 MB, free: 0.6953 MB / 314.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 -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.2664859439246356]