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.001432/0.001432, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001495/0.001495, allocations: 157.5 kB / 24.99 MB, free: 9.289 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.9186/0.9186, allocations: 177 MB / 205.2 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.2384/0.2384, allocations: 34.86 MB / 296.6 MB, free: 0.5742 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.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.212e-06/1.212e-06, allocations: 0 / 378.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.898e-05, allocations: 6.953 kB / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002515/0.002534, allocations: 2.504 MB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.003761, allocations: 1.07 MB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.003848, allocations: 4 kB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.00461, allocations: 0.5133 MB / 382.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.004839, allocations: 119.1 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.005376, allocations: 462.1 kB / 383.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.005634, allocations: 230.8 kB / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.00596, allocations: 214.7 kB / 383.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.006154, allocations: 155.6 kB / 384 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.006259, allocations: 91.77 kB / 384.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.006285, allocations: 24 kB / 384.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.00651, allocations: 151.7 kB / 384.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.006536, allocations: 43.84 kB / 384.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.006598, allocations: 83.81 kB / 384.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.006917, allocations: 306.9 kB / 384.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006919, allocations: 0 / 384.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00692, allocations: 0 / 384.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006924, allocations: 0 / 384.7 MB, free: 12.48 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.0008064/0.007731, allocations: 0.6481 MB / 385.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.007765, allocations: 12.03 kB / 385.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.008049, allocations: 80.7 kB / 385.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.008151, allocations: 136.3 kB / 385.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.008169, allocations: 20.88 kB / 385.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.008204, allocations: 24.38 kB / 385.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.008537, allocations: 249.5 kB / 385.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.008553, allocations: 192 / 385.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.008571, allocations: 8.375 kB / 385.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.008582, allocations: 11.94 kB / 385.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.008741, allocations: 102.9 kB / 385.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.009705, allocations: 0.8982 MB / 386.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.00992, allocations: 186 kB / 387 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.01005, allocations: 83.39 kB / 387.1 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.559e-05/0.01014, allocations: 15.98 kB / 387.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01016, allocations: 37.39 kB / 387.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.01016, allocations: 4 kB / 387.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004666/0.01063, allocations: 239.6 kB / 387.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.01066, allocations: 85.11 kB / 387.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.01075, allocations: 185.9 kB / 387.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.01076, allocations: 25.7 kB / 387.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.01083, allocations: 203.1 kB / 387.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.01087, allocations: 67.38 kB / 387.9 MB, free: 8.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.01092, allocations: 51.22 kB / 388 MB, free: 8.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.01114, allocations: 0.4961 MB / 388.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/0.01119, allocations: 27.98 kB / 388.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.01126, allocations: 103.1 kB / 388.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01139, allocations: 133.7 kB / 388.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01139, allocations: 0 / 388.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002323/0.01162, allocations: 206.9 kB / 389 MB, free: 7.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.01163, allocations: 4 kB / 389 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01164, allocations: 4 kB / 389 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.0118, allocations: 55.47 kB / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.01188, allocations: 36.09 kB / 389.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.0135, allocations: 3.523 MB / 392.6 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.01356, allocations: 23.88 kB / 392.6 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01358, allocations: 12 kB / 392.6 MB, free: 3.949 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 8.32e-05/0.01366, allocations: 168.6 kB / 392.8 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.01369, allocations: 20.14 kB / 392.8 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.01392, allocations: 181.6 kB / 393 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01392, allocations: 4 kB / 393 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01392, allocations: 0 / 393 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01393, allocations: 4 kB / 393 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.01442, allocations: 0.5428 MB / 393.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01442, allocations: 0 / 393.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.01449, allocations: 27.98 kB / 393.5 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-05/0.01458, allocations: 55.28 kB / 393.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.01459, allocations: 4 kB / 393.6 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.01574, allocations: 3.528 MB / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01574, allocations: 0 / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.01605, allocations: 486.1 kB / 397.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.01607, allocations: 19.89 kB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.01608, allocations: 7.938 kB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.01616, allocations: 12.14 kB / 397.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.01621, allocations: 28.03 kB / 397.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01622, allocations: 8 kB / 397.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.01627, allocations: 142.3 kB / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01627, allocations: 0 / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000277/0.01654, allocations: 71.83 kB / 397.9 MB, free: 14.29 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.0001567/0.0167, allocations: 131.1 kB / 398 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.01704, allocations: 451.1 kB / 398.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01704, allocations: 0 / 398.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.0172, allocations: 406.1 kB / 398.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.01744, allocations: 19.59 kB / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.01837, allocations: 457.2 kB / 399.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01843, allocations: 80.22 kB / 399.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.503e-05/0.01847, allocations: 25.06 kB / 399.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.0185, allocations: 16.5 kB / 399.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01851, allocations: 4 kB / 399.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of Templates: time 0.004139/0.02264, allocations: 2.418 MB / 401.9 MB, free: 10.19 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] 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","",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.9666433869861066]