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.0009191/0.0009191, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009208/0.0009208, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9537/0.9537, allocations: 177 MB / 204.8 MB, free: 5.582 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.2521/0.2521, allocations: 34.86 MB / 296.3 MB, free: 0.5625 MB / 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 2.525e-06/2.525e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.189e-05, allocations: 8.781 kB / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005581/0.005623, allocations: 3.519 MB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.007497, allocations: 0.8216 MB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.007769, allocations: 11.94 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.008014, allocations: 75.23 kB / 383.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.008373, allocations: 134.7 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.008819, allocations: 135.7 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.009453, allocations: 0.5372 MB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.009805, allocations: 162.4 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.01027, allocations: 319.4 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.01055, allocations: 183.4 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.01064, allocations: 48 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.672e-05/0.01072, allocations: 48 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.01081, allocations: 119.6 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.01099, allocations: 175.6 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.01147, allocations: 362.6 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01147, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01147, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.01148, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.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.001313/0.01279, allocations: 0.7921 MB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.01284, allocations: 8.031 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.01299, allocations: 88.61 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.01341, allocations: 264.8 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.01346, allocations: 33.38 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.01353, allocations: 44.38 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.01427, allocations: 444.4 kB / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.0143, allocations: 8.172 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.01435, allocations: 20.38 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.01438, allocations: 15.94 kB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.01482, allocations: 174.8 kB / 387.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.01703, allocations: 1.576 MB / 388.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.01742, allocations: 190 kB / 389 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.01761, allocations: 95.33 kB / 389.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.01763, allocations: 4.25 kB / 389.1 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.01767, allocations: 45.38 kB / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.526e-06/0.01767, allocations: 0 / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.002147/0.01982, allocations: 0.9814 MB / 390.1 MB, free: 6.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.01987, allocations: 89.11 kB / 390.2 MB, free: 6.301 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.02015, allocations: 304.2 kB / 390.5 MB, free: 5.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.02018, allocations: 29.7 kB / 390.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.02036, allocations: 310.8 kB / 390.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.02046, allocations: 126.9 kB / 391 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.02058, allocations: 75.86 kB / 391 MB, free: 5.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.02076, allocations: 0.5118 MB / 391.5 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.02091, allocations: 52.97 kB / 391.6 MB, free: 4.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.02114, allocations: 200.6 kB / 391.8 MB, free: 4.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.02153, allocations: 295.2 kB / 392.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02153, allocations: 3.938 kB / 392.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005833/0.02211, allocations: 340.9 kB / 392.4 MB, free: 3.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.02214, allocations: 8 kB / 392.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.02215, allocations: 0 / 392.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.02236, allocations: 32.05 kB / 392.5 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.02272, allocations: 123.8 kB / 392.6 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.02408, allocations: 1.779 MB / 394.4 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.02425, allocations: 8 kB / 394.4 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.02428, allocations: 20 kB / 394.4 MB, free: 1.816 MB / 362.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.0001501/0.02443, allocations: 180.5 kB / 394.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.02451, allocations: 47.75 kB / 394.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.02457, allocations: 42.05 kB / 394.6 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02457, allocations: 4 kB / 394.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.02458, allocations: 0 / 394.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.02458, allocations: 3.984 kB / 394.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.02538, allocations: 0.5822 MB / 395.2 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02538, allocations: 4.062 kB / 395.2 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.02569, allocations: 95.81 kB / 395.3 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.811e-05/0.02579, allocations: 27.67 kB / 395.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.02581, allocations: 11.98 kB / 395.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009302/0.02674, allocations: 1.768 MB / 397.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.02674, allocations: 0 / 397.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.02733, allocations: 0.5715 MB / 397.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.02742, allocations: 51.72 kB / 397.8 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.02745, allocations: 8 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.02764, allocations: 12 kB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.02771, allocations: 35.88 kB / 397.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.02773, allocations: 4 kB / 397.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.02789, allocations: 209.2 kB / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02789, allocations: 0 / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.02839, allocations: 92 kB / 398.1 MB, free: 13.86 MB / 378.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 0.0001404/0.02853, allocations: 107.2 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006088/0.02914, allocations: 382.6 kB / 398.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.02914, allocations: 192 / 398.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.02942, allocations: 280 kB / 398.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.02995, allocations: 40.48 kB / 398.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.03183, allocations: 0.81 MB / 399.7 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.03194, allocations: 109.3 kB / 399.8 MB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.0321, allocations: 34.95 kB / 399.9 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.03218, allocations: 28.5 kB / 399.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.03218, allocations: 4 kB / 399.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of Templates: time 0.006163/0.03835, allocations: 3.089 MB / 403 MB, free: 8.922 MB / 378.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: 2.9280632468871772]