Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009245/0.0009245, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008691/0.0008692, allocations: 96.3 kB / 281.6 MB, free: 5.32 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.1934/0.1934, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.46e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.5302, allocations: 89.38 MB / 0.582 GB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.5305, allocations: 79.95 kB / 0.582 GB, free: 7.062 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02159/0.5521, allocations: 9.143 MB / 0.591 GB, free: 13.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5522, allocations: 0 / 0.591 GB, free: 13.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.5522, allocations: 4 kB / 0.591 GB, free: 13.8 MB / 410.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.0009959/0.5532, allocations: 0.5452 MB / 0.5915 GB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5532, allocations: 16.03 kB / 0.5915 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.5536, allocations: 51.62 kB / 0.5916 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.5537, allocations: 182.8 kB / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5537, allocations: 8 kB / 0.5918 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.5538, allocations: 19.95 kB / 0.5918 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003071/0.5541, allocations: 165 kB / 0.5919 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.5545, allocations: 222.4 kB / 0.5921 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5545, allocations: 0 / 0.5921 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5545, allocations: 0 / 0.5921 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.5545, allocations: 12 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.5559, allocations: 0.9619 MB / 0.5931 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.5564, allocations: 343.4 kB / 0.5934 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.5566, allocations: 101.7 kB / 0.5935 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.5567, allocations: 85.09 kB / 0.5936 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.5568, allocations: 38.52 kB / 0.5936 GB, free: 10.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.5568, allocations: 0 / 0.5936 GB, free: 10.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005747/0.5573, allocations: 208.7 kB / 0.5938 GB, free: 10.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.5574, allocations: 81.09 kB / 0.5939 GB, free: 10.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.5575, allocations: 109.6 kB / 0.594 GB, free: 10.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.5575, allocations: 25.7 kB / 0.594 GB, free: 10.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.5576, allocations: 152.1 kB / 0.5942 GB, free: 10.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.5577, allocations: 63.02 kB / 0.5942 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.5577, allocations: 0 / 0.5942 GB, free: 10.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5578, allocations: 334.8 kB / 0.5946 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.5579, allocations: 44 kB / 0.5946 GB, free: 9.777 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.558, allocations: 80.28 kB / 0.5947 GB, free: 9.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.5582, allocations: 81.34 kB / 0.5948 GB, free: 9.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5583, allocations: 3.938 kB / 0.5948 GB, free: 9.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004668/0.5587, allocations: 236.3 kB / 0.595 GB, free: 9.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5588, allocations: 8.109 kB / 0.595 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5588, allocations: 3.938 kB / 0.595 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.559, allocations: 53.66 kB / 0.5951 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.5592, allocations: 52.03 kB / 0.5951 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.561, allocations: 2.54 MB / 0.5976 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.5611, allocations: 35.97 kB / 0.5976 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5612, allocations: 4 kB / 0.5976 GB, free: 6.43 MB / 410.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 8.78e-05/0.5613, allocations: 111.4 kB / 0.5977 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.5613, allocations: 19.8 kB / 0.5977 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.5618, allocations: 233.4 kB / 0.598 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5618, allocations: 0 / 0.598 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5618, allocations: 4 kB / 0.598 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5618, allocations: 0 / 0.598 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/0.5628, allocations: 0.5762 MB / 0.5985 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5628, allocations: 4 kB / 0.5985 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.563, allocations: 39.92 kB / 0.5986 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.5631, allocations: 49.69 kB / 0.5986 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5631, allocations: 4 kB / 0.5986 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.5649, allocations: 2.529 MB / 0.6011 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5649, allocations: 3.984 kB / 0.6011 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.5655, allocations: 499.1 kB / 0.6016 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.5656, allocations: 89 kB / 0.6017 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.5656, allocations: 0 / 0.6017 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.5658, allocations: 24.03 kB / 0.6017 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.5659, allocations: 19.98 kB / 0.6017 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.5659, allocations: 4 kB / 0.6017 GB, free: 1.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.566, allocations: 97.02 kB / 0.6018 GB, free: 1.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.566, allocations: 0 / 0.6018 GB, free: 1.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004299/0.5664, allocations: 71.69 kB / 0.6019 GB, free: 1.703 MB / 410.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.0002368/0.5667, allocations: 139.1 kB / 0.602 GB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.5671, allocations: 335.6 kB / 0.6023 GB, free: 1.211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5672, allocations: 8.062 kB / 0.6023 GB, free: 1.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.5674, allocations: 289 kB / 0.6026 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.5677, allocations: 7.953 kB / 0.6026 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.5683, allocations: 318.2 kB / 0.6029 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.5687, allocations: 0.7476 MB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.262e-05/0.5688, allocations: 21.12 kB / 0.6037 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.5688, allocations: 19.38 kB / 0.6037 GB, free: 15.74 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5688, allocations: 0 / 0.6037 GB, free: 15.74 MB / 426.7 MB Notification: Performance of Templates: time 0.004901/0.5737, allocations: 1.907 MB / 0.6055 GB, free: 13.84 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches