Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 179.4 kB / 8.519 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.4 MB / 230.3 MB, free: 7.664 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009728/0.0009729, allocations: 95.97 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.949e-06/9.969e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1529, allocations: 61.9 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.5079, allocations: 86.12 MB / 0.5782 GB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.5081, allocations: 67.97 kB / 0.5782 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.00437/0.5125, allocations: 1.465 MB / 0.5797 GB, free: 9.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.5126, allocations: 0 / 0.5797 GB, free: 9.273 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.0005057/0.5131, allocations: 410.1 kB / 0.5801 GB, free: 8.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5131, allocations: 15.91 kB / 0.5801 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.5132, allocations: 7.906 kB / 0.5801 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.5133, allocations: 178.9 kB / 0.5803 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.5133, allocations: 4 kB / 0.5803 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.5134, allocations: 7.938 kB / 0.5803 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.5135, allocations: 52 kB / 0.5803 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.5137, allocations: 83.3 kB / 0.5804 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5137, allocations: 0 / 0.5804 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5137, allocations: 0 / 0.5804 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5137, allocations: 4 kB / 0.5804 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.5145, allocations: 455.7 kB / 0.5808 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.5146, allocations: 58.52 kB / 0.5809 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.5147, allocations: 32.98 kB / 0.5809 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.5147, allocations: 0 / 0.5809 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5148, allocations: 42.56 kB / 0.581 GB, free: 7.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.5148, allocations: 0 / 0.581 GB, free: 7.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002808/0.515, allocations: 86.42 kB / 0.581 GB, free: 7.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5151, allocations: 51.41 kB / 0.5811 GB, free: 7.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.5152, allocations: 108.1 kB / 0.5812 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.5152, allocations: 25.7 kB / 0.5812 GB, free: 7.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.5153, allocations: 107.8 kB / 0.5813 GB, free: 7.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.5153, allocations: 15.73 kB / 0.5813 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.5153, allocations: 4 kB / 0.5813 GB, free: 7.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5154, allocations: 322.8 kB / 0.5817 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.5154, allocations: 15.94 kB / 0.5817 GB, free: 7.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.5155, allocations: 29.7 kB / 0.5817 GB, free: 6.992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.5155, allocations: 16 kB / 0.5817 GB, free: 6.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5156, allocations: 0 / 0.5817 GB, free: 6.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001701/0.5157, allocations: 94.88 kB / 0.5818 GB, free: 6.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5157, allocations: 8 kB / 0.5818 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5158, allocations: 3.984 kB / 0.5818 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.5159, allocations: 20.8 kB / 0.5818 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.5161, allocations: 35.94 kB / 0.5819 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009129/0.517, allocations: 1.242 MB / 0.5831 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.5171, allocations: 27.94 kB / 0.5831 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.5171, allocations: 4 kB / 0.5831 GB, free: 5.414 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.081e-05/0.5172, allocations: 101 kB / 0.5832 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.5172, allocations: 11.91 kB / 0.5832 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.5173, allocations: 8.375 kB / 0.5832 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5173, allocations: 0 / 0.5832 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5173, allocations: 0 / 0.5832 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.5173, allocations: 7.984 kB / 0.5832 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.5177, allocations: 340.7 kB / 0.5836 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5177, allocations: 0 / 0.5836 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.5178, allocations: 28.02 kB / 0.5836 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.409e-05/0.5179, allocations: 28.72 kB / 0.5836 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5179, allocations: 3.984 kB / 0.5836 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000779/0.5187, allocations: 1.244 MB / 0.5848 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5187, allocations: 0 / 0.5848 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002004/0.5189, allocations: 203 kB / 0.585 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.519, allocations: 81.02 kB / 0.5851 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.519, allocations: 4 kB / 0.5851 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5191, allocations: 19.98 kB / 0.5851 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.5192, allocations: 11.92 kB / 0.5851 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.5192, allocations: 0 / 0.5851 GB, free: 3.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.384e-05/0.5192, allocations: 91.19 kB / 0.5852 GB, free: 3.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002347/0.5195, allocations: 19.94 kB / 0.5852 GB, free: 3.008 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 9.959e-05/0.5196, allocations: 95.25 kB / 0.5853 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.5198, allocations: 137.8 kB / 0.5855 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5198, allocations: 0 / 0.5855 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.52, allocations: 129.8 kB / 0.5856 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.5202, allocations: 9.125 kB / 0.5856 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.5205, allocations: 120.4 kB / 0.5857 GB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.5208, allocations: 0.7146 MB / 0.5864 GB, free: 1.734 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5208, allocations: 0 / 0.5864 GB, free: 1.734 MB / 394.7 MB Notification: Performance of Templates: time 0.003324/0.5241, allocations: 1.016 MB / 0.5874 GB, free: 0.7266 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches