Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001458/0.001458, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001601/0.001601, allocations: 156.9 kB / 24.26 MB, free: 148 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 1.552/1.552, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3613/0.3613, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.791e-05, allocations: 4.422 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004119/0.004147, allocations: 2.366 MB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.006223, allocations: 1.032 MB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.006354, allocations: 8 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.008015, allocations: 493.6 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.008417, allocations: 115.2 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.009478, allocations: 450.1 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.009926, allocations: 226.9 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005165/0.01044, allocations: 222.7 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.01075, allocations: 147.7 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.01093, allocations: 95.7 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.01097, allocations: 20 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.01135, allocations: 155.7 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.0114, allocations: 51.77 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.01173, allocations: 71.84 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.01239, allocations: 418.7 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01239, allocations: 4 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0124, allocations: 0 / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.0124, allocations: 3.938 kB / 383 MB, free: 13.05 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.001437/0.01384, allocations: 0.5443 MB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.01388, allocations: 8.031 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/0.01431, allocations: 84.7 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.01448, allocations: 129.5 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.01452, allocations: 16.88 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.01458, allocations: 24.38 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.01525, allocations: 299.2 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.01526, allocations: 192 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01529, allocations: 8.375 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.01531, allocations: 11.94 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/0.0159, allocations: 225.8 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.01758, allocations: 0.8415 MB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.01809, allocations: 212 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.01847, allocations: 125.7 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.0186, allocations: 15.98 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.01863, allocations: 38.56 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.01864, allocations: 0 / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001282/0.01992, allocations: 363.1 kB / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.01999, allocations: 81.09 kB / 386 MB, free: 9.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.02013, allocations: 125.8 kB / 386.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.02016, allocations: 29.7 kB / 386.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.02028, allocations: 152.2 kB / 386.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.02035, allocations: 63.44 kB / 386.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.02042, allocations: 37.7 kB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.02063, allocations: 330.8 kB / 386.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.02087, allocations: 71.94 kB / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.02114, allocations: 129.7 kB / 386.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.02163, allocations: 208.1 kB / 387.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.02164, allocations: 0 / 387.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007062/0.02234, allocations: 287.1 kB / 387.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.02236, allocations: 4 kB / 387.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.02237, allocations: 0 / 387.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.02262, allocations: 57.62 kB / 387.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.02282, allocations: 39.97 kB / 387.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.02552, allocations: 2.592 MB / 390.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.02568, allocations: 23.88 kB / 390.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.0257, allocations: 12 kB / 390.1 MB, free: 5.445 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.00017/0.02587, allocations: 137.8 kB / 390.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.02595, allocations: 19.91 kB / 390.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.02667, allocations: 266 kB / 390.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.02668, allocations: 4.141 kB / 390.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.02668, allocations: 0 / 390.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.02669, allocations: 3.984 kB / 390.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.02798, allocations: 0.5638 MB / 391.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.02799, allocations: 0 / 391.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.02817, allocations: 32.08 kB / 391.2 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.02835, allocations: 57.58 kB / 391.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.02838, allocations: 8.047 kB / 391.2 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.03097, allocations: 2.584 MB / 393.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.03097, allocations: 0 / 393.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.032, allocations: 0.5244 MB / 394.3 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.03203, allocations: 15.89 kB / 394.3 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.03205, allocations: 3.938 kB / 394.3 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.03225, allocations: 23.97 kB / 394.4 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.03233, allocations: 19.97 kB / 394.4 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.03234, allocations: 4 kB / 394.4 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.03243, allocations: 102.3 kB / 394.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03243, allocations: 0 / 394.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005101/0.03294, allocations: 83.84 kB / 394.6 MB, free: 0.7031 MB / 362.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.000312/0.03325, allocations: 123.1 kB / 394.7 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.03419, allocations: 420.2 kB / 395.1 MB, free: 140 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.03419, allocations: 0 / 395.1 MB, free: 140 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.03473, allocations: 313.7 kB / 395.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.03521, allocations: 24.05 kB / 395.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.03628, allocations: 439.3 kB / 395.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.03644, allocations: 129.2 kB / 396 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.488e-05/0.03653, allocations: 13.16 kB / 396 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.03658, allocations: 16.5 kB / 396 MB, free: 15.14 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03658, allocations: 0 / 396 MB, free: 15.14 MB / 378.7 MB Notification: Performance of Templates: time 0.007585/0.04417, allocations: 2.415 MB / 398.4 MB, free: 12.75 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.001761675113812]