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.001454/0.001454, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001595/0.001595, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.372/1.372, allocations: 230.5 MB / 258.1 MB, free: 7.973 MB / 206.1 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.2115/0.2115, allocations: 46.94 MB / 361.5 MB, free: 4.152 MB / 286.1 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 0.002211/0.002211, allocations: 79.88 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2611, allocations: 66.07 MB / 0.5619 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003883/0.265, allocations: 2.528 MB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2667, allocations: 1.106 MB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.2668, allocations: 4 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.2681, allocations: 0.5134 MB / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.2684, allocations: 107.3 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.2693, allocations: 494.1 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.2696, allocations: 215 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.27, allocations: 234.2 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.2702, allocations: 107.6 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.2704, allocations: 123.5 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.2704, allocations: 24 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.2707, allocations: 159.8 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.2708, allocations: 47.84 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2709, allocations: 111.5 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.2714, allocations: 397.3 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2714, allocations: 4 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2714, allocations: 3.938 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2714, allocations: 0 / 0.5679 GB, free: 14.06 MB / 414.1 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.001217/0.2726, allocations: 0.5521 MB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2727, allocations: 8.031 kB / 0.5685 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.273, allocations: 48.77 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2731, allocations: 138.2 kB / 0.5687 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.2731, allocations: 24.81 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.2732, allocations: 24.38 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.2738, allocations: 290.9 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2738, allocations: 3.938 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.2738, allocations: 12 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2738, allocations: 4 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.2743, allocations: 233.6 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.2758, allocations: 0.9339 MB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2762, allocations: 205 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.2765, allocations: 129.7 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-05/0.2766, allocations: 19.97 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.2767, allocations: 30.56 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.2767, allocations: 0 / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001108/0.2778, allocations: 361.5 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.2778, allocations: 77.11 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2779, allocations: 141.9 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.278, allocations: 33.7 kB / 0.5711 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.2781, allocations: 144.3 kB / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.2781, allocations: 75.31 kB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.2782, allocations: 37.7 kB / 0.5713 GB, free: 10.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2783, allocations: 322.8 kB / 0.5716 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2785, allocations: 71.95 kB / 0.5717 GB, free: 9.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.2787, allocations: 118 kB / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.2792, allocations: 212 kB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2792, allocations: 0 / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005856/0.2798, allocations: 275 kB / 0.5723 GB, free: 9.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2798, allocations: 15.92 kB / 0.5723 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2798, allocations: 0 / 0.5723 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.28, allocations: 49.89 kB / 0.5723 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2801, allocations: 43.91 kB / 0.5724 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.2822, allocations: 2.633 MB / 0.575 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2823, allocations: 39.94 kB / 0.575 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.2823, allocations: 8 kB / 0.575 GB, free: 6.289 MB / 414.1 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.0001344/0.2825, allocations: 146.4 kB / 0.5751 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.2825, allocations: 7.953 kB / 0.5751 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.2832, allocations: 262.2 kB / 0.5754 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2832, allocations: 4 kB / 0.5754 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2832, allocations: 0 / 0.5754 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2832, allocations: 7.984 kB / 0.5754 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.2842, allocations: 0.614 MB / 0.576 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2842, allocations: 3.938 kB / 0.576 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.2844, allocations: 43.91 kB / 0.5761 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.2845, allocations: 53.83 kB / 0.5761 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.2845, allocations: 8 kB / 0.5761 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.2865, allocations: 2.639 MB / 0.5787 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2865, allocations: 0 / 0.5787 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.2874, allocations: 0.5129 MB / 0.5792 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.2874, allocations: 19.92 kB / 0.5792 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2874, allocations: 4 kB / 0.5792 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.2876, allocations: 15.98 kB / 0.5792 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.2876, allocations: 23.91 kB / 0.5793 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2876, allocations: 12 kB / 0.5793 GB, free: 1.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.059e-05/0.2877, allocations: 107.2 kB / 0.5794 GB, free: 1.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2877, allocations: 0 / 0.5794 GB, free: 1.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.2881, allocations: 75.78 kB / 0.5794 GB, free: 1.402 MB / 414.1 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.0001862/0.2883, allocations: 127.2 kB / 0.5796 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.289, allocations: 407.9 kB / 0.58 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.289, allocations: 4 kB / 0.58 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.2894, allocations: 321.2 kB / 0.5803 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.2898, allocations: 18.75 kB / 0.5803 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.2906, allocations: 496.5 kB / 0.5808 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.291, allocations: 0.7401 MB / 0.5815 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.291, allocations: 19.44 kB / 0.5815 GB, free: 15.18 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.291, allocations: 0 / 0.5815 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Templates: time 0.00626/0.2973, allocations: 4.374 MB / 0.5858 GB, free: 10.79 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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: 7.324340251041576]