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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002147/0.002147, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 225.5 MB / 234.4 MB, free: 15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009504/0.0009504, allocations: 100.2 kB / 286.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3498/0.3498, allocations: 45.14 MB / 383.3 MB, free: 41.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.71e-06/5.74e-06, allocations: 0 / 452.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3267, allocations: 63.23 MB / 0.5038 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.4322, allocations: 90.44 MB / 0.5921 GB, free: 3.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4325, allocations: 79.95 kB / 0.5922 GB, free: 3.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.02207/0.4546, allocations: 9.397 MB / 0.6013 GB, free: 10.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4546, allocations: 4 kB / 0.6013 GB, free: 10.36 MB / 426.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.0009604/0.4556, allocations: 0.5606 MB / 0.6019 GB, free: 9.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4556, allocations: 12.03 kB / 0.6019 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.456, allocations: 51.67 kB / 0.6019 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4561, allocations: 190.7 kB / 0.6021 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4561, allocations: 8 kB / 0.6021 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.4562, allocations: 16 kB / 0.6022 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003162/0.4565, allocations: 164.9 kB / 0.6023 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.4568, allocations: 225.7 kB / 0.6025 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.4569, allocations: 3.984 kB / 0.6025 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.4569, allocations: 3.938 kB / 0.6025 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4569, allocations: 8 kB / 0.6025 GB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.4583, allocations: 0.9631 MB / 0.6035 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.4585, allocations: 161.2 kB / 0.6036 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.4587, allocations: 104.5 kB / 0.6037 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.4589, allocations: 170.2 kB / 0.6039 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.4589, allocations: 38.62 kB / 0.6039 GB, free: 7.477 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.785e-06/0.4589, allocations: 0 / 0.6039 GB, free: 7.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005324/0.4594, allocations: 199.3 kB / 0.6041 GB, free: 7.266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.4595, allocations: 81.11 kB / 0.6042 GB, free: 7.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/0.4596, allocations: 109 kB / 0.6043 GB, free: 7.055 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4596, allocations: 29.7 kB / 0.6043 GB, free: 7.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.4597, allocations: 140 kB / 0.6045 GB, free: 6.879 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.4597, allocations: 67 kB / 0.6045 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.4597, allocations: 4.031 kB / 0.6045 GB, free: 6.809 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.4598, allocations: 322.9 kB / 0.6048 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.4599, allocations: 47.94 kB / 0.6049 GB, free: 6.438 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.46, allocations: 81.25 kB / 0.605 GB, free: 6.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.4602, allocations: 67.97 kB / 0.605 GB, free: 6.277 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4602, allocations: 0 / 0.605 GB, free: 6.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004075/0.4606, allocations: 217.8 kB / 0.6052 GB, free: 6.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4606, allocations: 4 kB / 0.6052 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4606, allocations: 0 / 0.6052 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.4608, allocations: 53.75 kB / 0.6053 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.461, allocations: 51.97 kB / 0.6053 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.4627, allocations: 2.532 MB / 0.6078 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.4628, allocations: 27.88 kB / 0.6078 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.4629, allocations: 12.06 kB / 0.6079 GB, free: 3.137 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.643e-05/0.463, allocations: 112.9 kB / 0.608 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.463, allocations: 11.81 kB / 0.608 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.4635, allocations: 216.1 kB / 0.6082 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4635, allocations: 0 / 0.6082 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4635, allocations: 4 kB / 0.6082 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4635, allocations: 0 / 0.6082 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/0.4643, allocations: 0.5556 MB / 0.6087 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4643, allocations: 3.906 kB / 0.6087 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.4645, allocations: 43.91 kB / 0.6088 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.4647, allocations: 49.77 kB / 0.6088 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.4647, allocations: 4 kB / 0.6088 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.4662, allocations: 2.506 MB / 0.6113 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4663, allocations: 0 / 0.6113 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005431/0.4668, allocations: 495 kB / 0.6117 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.4669, allocations: 92.94 kB / 0.6118 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.4669, allocations: 0 / 0.6118 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.4671, allocations: 27.86 kB / 0.6119 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.4672, allocations: 15.95 kB / 0.6119 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.4672, allocations: 8 kB / 0.6119 GB, free: 14.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.997e-05/0.4672, allocations: 95.27 kB / 0.612 GB, free: 14.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.4677, allocations: 67.84 kB / 0.612 GB, free: 14.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.4679, allocations: 139.1 kB / 0.6122 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.4683, allocations: 335.5 kB / 0.6125 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4683, allocations: 4 kB / 0.6125 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.4686, allocations: 275.5 kB / 0.6128 GB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.4688, allocations: 4.438 kB / 0.6128 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.4696, allocations: 323.7 kB / 0.6131 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.47, allocations: 0.7534 MB / 0.6138 GB, free: 12.58 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.47, allocations: 4 kB / 0.6138 GB, free: 12.57 MB / 442.7 MB Notification: Performance of Templates: time 0.005652/0.4757, allocations: 2.463 MB / 0.6162 GB, free: 10.13 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches