Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.001364/0.001364, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001492/0.001492, allocations: 214.1 kB / 25.13 MB, free: 3.582 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.561/1.561, allocations: 230.2 MB / 258.4 MB, free: 8.262 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.2288/0.2288, allocations: 46.89 MB / 361.7 MB, free: 4.559 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 75.88 kB / 0.4974 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.338, allocations: 66.04 MB / 0.5619 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003111/0.3411, allocations: 1.74 MB / 0.5636 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000164/0.3413, allocations: 79.67 kB / 0.5636 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.3414, allocations: 4 kB / 0.5636 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/0.3414, allocations: 11.86 kB / 0.5637 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.3415, allocations: 27.72 kB / 0.5637 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.488e-05/0.3416, allocations: 27.97 kB / 0.5637 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3417, allocations: 103.6 kB / 0.5638 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3419, allocations: 51.88 kB / 0.5639 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.342, allocations: 39.92 kB / 0.5639 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.3421, allocations: 51.77 kB / 0.5639 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.3421, allocations: 12 kB / 0.564 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.3421, allocations: 12 kB / 0.564 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.3421, allocations: 19.92 kB / 0.564 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.3423, allocations: 51.73 kB / 0.564 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3425, allocations: 114 kB / 0.5641 GB, free: 2.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3425, allocations: 0 / 0.5641 GB, free: 2.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3425, allocations: 8 kB / 0.5641 GB, free: 2.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3425, allocations: 0 / 0.5641 GB, free: 2.293 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006757/0.3432, allocations: 345.9 kB / 0.5645 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3432, allocations: 15.97 kB / 0.5645 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.3433, allocations: 8.891 kB / 0.5645 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3434, allocations: 126.3 kB / 0.5646 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3434, allocations: 12.38 kB / 0.5646 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3435, allocations: 12.38 kB / 0.5646 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.3438, allocations: 118.1 kB / 0.5648 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3438, allocations: 4.172 kB / 0.5648 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3438, allocations: 7.938 kB / 0.5648 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3438, allocations: 4 kB / 0.5648 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.3441, allocations: 107.8 kB / 0.5649 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.3449, allocations: 442.5 kB / 0.5653 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.3451, allocations: 78.53 kB / 0.5654 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.3454, allocations: 60.94 kB / 0.5654 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3454, allocations: 3.938 kB / 0.5654 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.3455, allocations: 30.56 kB / 0.5655 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3455, allocations: 0 / 0.5655 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007631/0.3463, allocations: 190.3 kB / 0.5656 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3463, allocations: 59.34 kB / 0.5657 GB, free: 0.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3464, allocations: 117.8 kB / 0.5658 GB, free: 428 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3465, allocations: 37.7 kB / 0.5659 GB, free: 384 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3466, allocations: 104.2 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3467, allocations: 23.78 kB / 0.566 GB, free: 248 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3467, allocations: 21.72 kB / 0.566 GB, free: 220 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.3469, allocations: 318.8 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.3472, allocations: 35.95 kB / 0.5663 GB, free: 15.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3473, allocations: 62.53 kB / 0.5664 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3476, allocations: 98.44 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3476, allocations: 7.938 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003872/0.348, allocations: 142.4 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.348, allocations: 4 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.348, allocations: 3.984 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.3482, allocations: 20.86 kB / 0.5667 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3483, allocations: 24.03 kB / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.3495, allocations: 1.311 MB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.3496, allocations: 11.98 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3496, allocations: 0 / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.3497, allocations: 119.1 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.3497, allocations: 15.89 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.3497, allocations: 8.375 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3497, allocations: 4 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3497, allocations: 11.98 kB / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3497, allocations: 0 / 0.5681 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.3504, allocations: 395.1 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3504, allocations: 0 / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.3505, allocations: 16.02 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.746e-05/0.3506, allocations: 24.84 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3506, allocations: 0 / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3518, allocations: 1.303 MB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3518, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.3523, allocations: 245.2 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.3523, allocations: 7.953 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3523, allocations: 4 kB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3524, allocations: 11.98 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.3525, allocations: 11.97 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3525, allocations: 0 / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.3525, allocations: 95.28 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3528, allocations: 31.83 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001217/0.3529, allocations: 99.23 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.3534, allocations: 202.5 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3534, allocations: 4.125 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.3537, allocations: 158.6 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.354, allocations: 8 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.3545, allocations: 220.9 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.355, allocations: 0.7002 MB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.355, allocations: 3.75 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.3551, allocations: 15.38 kB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3551, allocations: 0 / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of Templates: time 0.004062/0.3591, allocations: 1.157 MB / 0.5727 GB, free: 8.906 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.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.279016816988587]