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.001328/0.001328, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001586/0.001586, allocations: 164.3 kB / 24.82 MB, free: 9.238 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.9721/0.9721, allocations: 177 MB / 205.1 MB, free: 5.457 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.2486/0.2486, allocations: 34.87 MB / 296.6 MB, free: 460 kB / 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.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 1.323e-06/1.323e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.48e-05, allocations: 3.156 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002137/0.002152, allocations: 1.767 MB / 381 MB, free: 52 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.002315, allocations: 95.64 kB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.00236, allocations: 0 / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.002402, allocations: 11.86 kB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.00246, allocations: 23.78 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.32e-05/0.002543, allocations: 23.97 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.002642, allocations: 119.6 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.002763, allocations: 27.98 kB / 381.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.002847, allocations: 71.86 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.002899, allocations: 35.89 kB / 381.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.002919, allocations: 12 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.002932, allocations: 15.94 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.002953, allocations: 19.91 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.002986, allocations: 35.92 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 9.997e-05/0.003086, allocations: 75.73 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003088, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003088, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003091, allocations: 4 kB / 381.5 MB, free: 15.49 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003531/0.003444, allocations: 444.2 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.003477, allocations: 8.031 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.003508, allocations: 16.89 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.183e-05/0.00358, allocations: 128.4 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.003591, allocations: 8.375 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.0036, allocations: 4.375 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.003742, allocations: 104.2 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.003749, allocations: 4.188 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.003758, allocations: 4.375 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.003764, allocations: 4.375 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.003802, allocations: 23.92 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.004209, allocations: 415.1 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.004286, allocations: 54.98 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.004346, allocations: 35.78 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.004354, allocations: 4 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.004373, allocations: 33.39 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.004373, allocations: 0 / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002511/0.004624, allocations: 101.2 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.004647, allocations: 51.41 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.00472, allocations: 169.9 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.00473, allocations: 29.69 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.004787, allocations: 162.6 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.0048, allocations: 27.8 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.004829, allocations: 23.38 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.00493, allocations: 0.4923 MB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.004944, allocations: 4 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.694e-05/0.004971, allocations: 31.05 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.005016, allocations: 46.98 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005018, allocations: 0 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001009/0.005118, allocations: 89.14 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.00513, allocations: 16.05 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005134, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.871e-05/0.005233, allocations: 23.67 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.005282, allocations: 8 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006843/0.005966, allocations: 1.734 MB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.006001, allocations: 15.92 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.006005, allocations: 0 / 385.8 MB, free: 10.86 MB / 362.7 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 6.751e-05/0.006073, allocations: 168.5 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.00609, allocations: 7.953 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-06/0.006099, allocations: 8.438 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.0061, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.006103, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006106, allocations: 7.984 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.006353, allocations: 321.3 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.006355, allocations: 0 / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.006383, allocations: 19.95 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.317e-05/0.006436, allocations: 27.67 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.006441, allocations: 4.078 kB / 386.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008631/0.007304, allocations: 1.733 MB / 388.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.007306, allocations: 4 kB / 388.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.007421, allocations: 231.1 kB / 388.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-06/0.007426, allocations: 4 kB / 388.3 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-06/0.007432, allocations: 8.156 kB / 388.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.007477, allocations: 8 kB / 388.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.007504, allocations: 11.98 kB / 388.3 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.007507, allocations: 0 / 388.3 MB, free: 8.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.007539, allocations: 135.2 kB / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007539, allocations: 0 / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.007707, allocations: 31.83 kB / 388.5 MB, free: 7.941 MB / 362.7 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 6.298e-05/0.00777, allocations: 95.25 kB / 388.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.007932, allocations: 205.4 kB / 388.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.007934, allocations: 0 / 388.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.008013, allocations: 197.5 kB / 389 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.008187, allocations: 8 kB / 389 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.008475, allocations: 214 kB / 389.2 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.008513, allocations: 73.53 kB / 389.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.008532, allocations: 0 / 389.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.008583, allocations: 78.19 kB / 389.4 MB, free: 6.984 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.008584, allocations: 0 / 389.4 MB, free: 6.984 MB / 362.7 MB Notification: Performance of Templates: time 0.00262/0.0112, allocations: 1.277 MB / 390.6 MB, free: 5.723 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/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.998292177915573]