Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.002299/0.002299, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002154/0.002154, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 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 1.606/1.606, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3781/0.3781, allocations: 34.25 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.027e-05, allocations: 6.25 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.006484/0.006514, allocations: 2.474 MB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.009025, allocations: 1.051 MB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.009155, allocations: 8 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.01122, allocations: 0.5211 MB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.01167, allocations: 115.1 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.01299, allocations: 470.1 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.01346, allocations: 230.8 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.01412, allocations: 214.7 kB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.0145, allocations: 147.7 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.01476, allocations: 95.77 kB / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.01482, allocations: 24 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.01526, allocations: 147.7 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.01535, allocations: 51.83 kB / 382.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.0155, allocations: 75.78 kB / 382.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008501/0.01635, allocations: 426.7 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01636, allocations: 0 / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01636, allocations: 0 / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01636, allocations: 0 / 383.3 MB, free: 12.95 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.002063/0.01843, allocations: 0.6595 MB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.01848, allocations: 8.031 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/0.01918, allocations: 88.69 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.01936, allocations: 128.4 kB / 384.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.01941, allocations: 20.88 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.01949, allocations: 28.31 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.02037, allocations: 297 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.0204, allocations: 192 / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.02044, allocations: 12.38 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.02046, allocations: 7.938 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.02123, allocations: 197.9 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.02376, allocations: 0.988 MB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.02439, allocations: 216.1 kB / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.02484, allocations: 123.4 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.02499, allocations: 19.98 kB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.02504, allocations: 41.39 kB / 386.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 2.214e-06/0.02504, allocations: 4 kB / 386.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001613/0.02665, allocations: 323.1 kB / 386.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.02674, allocations: 81.11 kB / 386.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.02698, allocations: 205.9 kB / 386.7 MB, free: 9.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.02703, allocations: 33.7 kB / 386.7 MB, free: 9.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.02734, allocations: 191 kB / 386.9 MB, free: 9.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.02745, allocations: 83.34 kB / 387 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.02758, allocations: 47.38 kB / 387 MB, free: 8.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003835/0.02797, allocations: 0.504 MB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.02824, allocations: 59.83 kB / 387.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.02859, allocations: 133.7 kB / 387.7 MB, free: 8.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.02922, allocations: 205.7 kB / 387.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02922, allocations: 0 / 387.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008407/0.03006, allocations: 272.6 kB / 388.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.03008, allocations: 8 kB / 388.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.03008, allocations: 0 / 388.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003625/0.03045, allocations: 67.28 kB / 388.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.03069, allocations: 31.98 kB / 388.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004161/0.03485, allocations: 3.644 MB / 391.9 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.03501, allocations: 15.89 kB / 392 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.03504, allocations: 8 kB / 392 MB, free: 3.684 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.03525, allocations: 188.5 kB / 392.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.03532, allocations: 11.95 kB / 392.2 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.03619, allocations: 245.8 kB / 392.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.03619, allocations: 4 kB / 392.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.0362, allocations: 0 / 392.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.0362, allocations: 3.984 kB / 392.4 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.03794, allocations: 0.6366 MB / 393 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.03795, allocations: 4.062 kB / 393.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.0382, allocations: 35.91 kB / 393.1 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.03846, allocations: 55.36 kB / 393.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.03849, allocations: 7.984 kB / 393.1 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004259/0.04275, allocations: 3.645 MB / 396.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.04276, allocations: 4 kB / 396.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.04401, allocations: 0.5871 MB / 397.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.04406, allocations: 23.84 kB / 397.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.0441, allocations: 7.922 kB / 397.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.04436, allocations: 12 kB / 397.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.04446, allocations: 15.97 kB / 397.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.04448, allocations: 16.05 kB / 397.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.04459, allocations: 143.2 kB / 397.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04459, allocations: 0 / 397.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007684/0.04536, allocations: 75.77 kB / 397.7 MB, free: 13.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0003808/0.04574, allocations: 127.2 kB / 397.8 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.0469, allocations: 0.5094 MB / 398.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0469, allocations: 0 / 398.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006995/0.0476, allocations: 431.8 kB / 398.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.0482, allocations: 20.05 kB / 398.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.04962, allocations: 465.4 kB / 399.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.04985, allocations: 125.2 kB / 399.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.04997, allocations: 17.14 kB / 399.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.05005, allocations: 20.5 kB / 399.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.05005, allocations: 0 / 399.4 MB, free: 11.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01023/0.06028, allocations: 2.415 MB / 401.8 MB, free: 9.367 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.14204724598676]