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/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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.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.001221/0.001221, allocations: 196 kB / 8.538 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008912, allocations: 89.73 kB / 286.3 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2029/0.2029, allocations: 45.14 MB / 383.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.242e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.4815, allocations: 87.17 MB / 0.5889 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4818, allocations: 65.47 kB / 0.589 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.004347/0.4861, allocations: 1.454 MB / 0.5904 GB, free: 14.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4862, allocations: 0 / 0.5904 GB, free: 14.45 MB / 394.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.0004722/0.4866, allocations: 412.8 kB / 0.5908 GB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4867, allocations: 8.031 kB / 0.5908 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.4867, allocations: 14.08 kB / 0.5908 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.4869, allocations: 174.9 kB / 0.591 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4869, allocations: 4 kB / 0.591 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4869, allocations: 11.94 kB / 0.591 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001403/0.4871, allocations: 50.38 kB / 0.591 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4872, allocations: 87.41 kB / 0.5911 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4872, allocations: 4 kB / 0.5911 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4873, allocations: 0 / 0.5911 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4873, allocations: 4 kB / 0.5911 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.4879, allocations: 446.2 kB / 0.5915 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.4881, allocations: 58.95 kB / 0.5916 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.4882, allocations: 39.11 kB / 0.5916 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.4882, allocations: 4 kB / 0.5916 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4882, allocations: 37.28 kB / 0.5917 GB, free: 13.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4882, allocations: 0 / 0.5917 GB, free: 13.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002573/0.4885, allocations: 80.58 kB / 0.5917 GB, free: 13.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.4885, allocations: 55.41 kB / 0.5918 GB, free: 12.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.4886, allocations: 116.5 kB / 0.5919 GB, free: 12.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.4886, allocations: 25.7 kB / 0.5919 GB, free: 12.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.4887, allocations: 107.3 kB / 0.592 GB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.4887, allocations: 19.66 kB / 0.5921 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.4887, allocations: 0 / 0.5921 GB, free: 12.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.4888, allocations: 318.3 kB / 0.5924 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.4889, allocations: 18.44 kB / 0.5924 GB, free: 12.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.4889, allocations: 28.66 kB / 0.5924 GB, free: 12.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.489, allocations: 15 kB / 0.5924 GB, free: 12.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.489, allocations: 0 / 0.5924 GB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001663/0.4891, allocations: 92.5 kB / 0.5925 GB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.4892, allocations: 4 kB / 0.5925 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4892, allocations: 160 / 0.5925 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.4893, allocations: 28.22 kB / 0.5925 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.4895, allocations: 24.14 kB / 0.5926 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008937/0.4904, allocations: 1.257 MB / 0.5938 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4905, allocations: 27.94 kB / 0.5938 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4905, allocations: 4 kB / 0.5938 GB, free: 10.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.4906, allocations: 101 kB / 0.5939 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.4906, allocations: 7.906 kB / 0.5939 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.4906, allocations: 16.17 kB / 0.5939 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4906, allocations: 0 / 0.5939 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4907, allocations: 4 kB / 0.5939 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4907, allocations: 0 / 0.5939 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.4911, allocations: 346.9 kB / 0.5943 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4911, allocations: 3.906 kB / 0.5943 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4912, allocations: 35.12 kB / 0.5943 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.428e-05/0.4913, allocations: 15.98 kB / 0.5943 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4913, allocations: 0 / 0.5943 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008674/0.4921, allocations: 1.246 MB / 0.5955 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4922, allocations: 0 / 0.5955 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001868/0.4924, allocations: 199.2 kB / 0.5957 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.4924, allocations: 85.08 kB / 0.5958 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.4924, allocations: 4 kB / 0.5958 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4926, allocations: 15.98 kB / 0.5958 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.4926, allocations: 15.83 kB / 0.5958 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4926, allocations: 0 / 0.5958 GB, free: 8.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.184e-05/0.4927, allocations: 95.16 kB / 0.5959 GB, free: 8.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.4929, allocations: 19.94 kB / 0.596 GB, free: 8.508 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.493, allocations: 97.3 kB / 0.596 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.4933, allocations: 133.5 kB / 0.5962 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4933, allocations: 0 / 0.5962 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.4934, allocations: 132.7 kB / 0.5963 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.4936, allocations: 8.031 kB / 0.5963 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.4939, allocations: 122.1 kB / 0.5964 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.4942, allocations: 0.7113 MB / 0.5971 GB, free: 7.273 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4942, allocations: 0 / 0.5971 GB, free: 7.273 MB / 394.7 MB Notification: Performance of Templates: time 0.003136/0.4973, allocations: 1.01 MB / 0.5981 GB, free: 6.277 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches