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.001017/0.001017, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002528, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001164/0.001164, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002717, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9723/0.9723, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08702/1.059, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2584/0.2584, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02506/0.2834, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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.523e-06/1.523e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.594e-05, allocations: 4.281 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002632/0.002648, allocations: 2.533 MB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004011, allocations: 1.098 MB / 297.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.004082, allocations: 4 kB / 297.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.004737, allocations: 0.5249 MB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.004953, allocations: 107.2 kB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.005496, allocations: 462 kB / 298.6 MB, free: 488 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.005711, allocations: 230.9 kB / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.005996, allocations: 233.3 kB / 299 MB, free: 24 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.006198, allocations: 155.6 kB / 299.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.006307, allocations: 99.7 kB / 299.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.006332, allocations: 24 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.006586, allocations: 151.8 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.006611, allocations: 35.88 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.006662, allocations: 63.88 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.006959, allocations: 275.1 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.006972, allocations: 4 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.006974, allocations: 3.984 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.006985, allocations: 0 / 299.8 MB, free: 15.23 MB / 298.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.0007842/0.00777, allocations: 0.6581 MB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.007802, allocations: 11.44 kB / 300.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.008034, allocations: 88.75 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.008129, allocations: 137.4 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.008147, allocations: 20.88 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.008177, allocations: 24.38 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.008649, allocations: 220 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.00866, allocations: 192 / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.008675, allocations: 8.375 kB / 301 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.008685, allocations: 11.94 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.008775, allocations: 68.27 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.009493, allocations: 0.6584 MB / 301.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.009664, allocations: 166.9 kB / 301.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.009756, allocations: 70.47 kB / 301.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.927e-05/0.009826, allocations: 15.98 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.009846, allocations: 34.56 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.009847, allocations: 4.109 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003293/0.01018, allocations: 194.4 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.01021, allocations: 85.05 kB / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.01026, allocations: 130.6 kB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.01028, allocations: 25.7 kB / 302.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.01033, allocations: 148.3 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.01036, allocations: 63.42 kB / 302.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.0104, allocations: 41.69 kB / 302.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.01047, allocations: 326.8 kB / 303 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.0105, allocations: 24.11 kB / 303 MB, free: 11.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.01054, allocations: 61.98 kB / 303.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.01064, allocations: 110.8 kB / 303.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01064, allocations: 0 / 303.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001555/0.01079, allocations: 153.5 kB / 303.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.01081, allocations: 11.94 kB / 303.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01081, allocations: 0 / 303.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.01093, allocations: 45.69 kB / 303.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.01103, allocations: 39.91 kB / 303.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009662/0.01199, allocations: 2.368 MB / 305.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.01205, allocations: 15.95 kB / 305.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.01206, allocations: 11.92 kB / 305.8 MB, free: 8.785 MB / 298.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 6.28e-05/0.01212, allocations: 117.8 kB / 305.9 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.01215, allocations: 15.98 kB / 305.9 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.01231, allocations: 149 kB / 306.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.01231, allocations: 0 / 306.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.01232, allocations: 15.92 kB / 306.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01232, allocations: 0 / 306.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.01268, allocations: 362 kB / 306.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01268, allocations: 0 / 306.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.01276, allocations: 32.05 kB / 306.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.01277, allocations: 23.81 kB / 306.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.288e-05/0.01284, allocations: 37.69 kB / 306.5 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.01285, allocations: 8 kB / 306.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.01392, allocations: 2.356 MB / 308.9 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01392, allocations: 4.031 kB / 308.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.01414, allocations: 350.3 kB / 309.3 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.01415, allocations: 7.938 kB / 309.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.01422, allocations: 11.98 kB / 309.3 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.01426, allocations: 15.97 kB / 309.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.01427, allocations: 8 kB / 309.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.953e-05/0.01429, allocations: 26.83 kB / 309.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01429, allocations: 0 / 309.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000251/0.01454, allocations: 75.78 kB / 309.4 MB, free: 4.922 MB / 298.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.0001556/0.0147, allocations: 116.5 kB / 309.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.01496, allocations: 324 kB / 309.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.01497, allocations: 8 kB / 309.8 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01509, allocations: 274 kB / 310.1 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.0153, allocations: 27.88 kB / 310.1 MB, free: 4.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.01727, allocations: 438.9 kB / 310.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.01732, allocations: 80.2 kB / 310.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.681e-05/0.01736, allocations: 13.16 kB / 310.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.01742, allocations: 67.36 kB / 310.7 MB, free: 3.477 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01742, allocations: 4 kB / 310.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of Templates: time 0.004248/0.02167, allocations: 2.554 MB / 313.3 MB, free: 0.9648 MB / 298.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 -ignoreHideResult -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.7702513318508863]