Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 96.88 kB / 291.8 MB, free: 10.94 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.4233/0.4233, allocations: 44.13 MB / 386.1 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 47.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3481, allocations: 60.8 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003573/0.3517, allocations: 2.702 MB / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3529, allocations: 0.7492 MB / 0.5098 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.3531, allocations: 5.531 kB / 0.5098 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3534, allocations: 51.84 kB / 0.5098 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3536, allocations: 82.84 kB / 0.5099 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.3539, allocations: 98.48 kB / 0.51 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.3543, allocations: 396.1 kB / 0.5104 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.3545, allocations: 128.3 kB / 0.5105 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3547, allocations: 145.9 kB / 0.5106 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3548, allocations: 161.2 kB / 0.5108 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.3549, allocations: 22.53 kB / 0.5108 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.355, allocations: 21.62 kB / 0.5108 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.355, allocations: 67.84 kB / 0.5109 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.3551, allocations: 168 kB / 0.511 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.3554, allocations: 413.8 kB / 0.5114 GB, free: 34.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3555, allocations: 0 / 0.5114 GB, free: 34.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3555, allocations: 0 / 0.5114 GB, free: 34.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3555, allocations: 0 / 0.5114 GB, free: 34.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009385/0.3564, allocations: 0.6689 MB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3565, allocations: 9.656 kB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.3566, allocations: 43.44 kB / 0.5121 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.3568, allocations: 270.3 kB / 0.5124 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3569, allocations: 22.97 kB / 0.5124 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.3569, allocations: 31.47 kB / 0.5125 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.3575, allocations: 361.3 kB / 0.5128 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3575, allocations: 6.312 kB / 0.5128 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3576, allocations: 14.97 kB / 0.5128 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3576, allocations: 6.031 kB / 0.5128 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.3581, allocations: 264.1 kB / 0.5131 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3597, allocations: 1.353 MB / 0.5144 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.3602, allocations: 197 kB / 0.5146 GB, free: 32.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.3604, allocations: 86.7 kB / 0.5147 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3604, allocations: 4 kB / 0.5147 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3604, allocations: 44.75 kB / 0.5147 GB, free: 32.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3604, allocations: 0 / 0.5147 GB, free: 32.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.000754/0.3612, allocations: 246.6 kB / 0.5149 GB, free: 32.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3613, allocations: 138.7 kB / 0.5151 GB, free: 32.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.3616, allocations: 324.8 kB / 0.5154 GB, free: 32.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3616, allocations: 27.02 kB / 0.5154 GB, free: 32.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3617, allocations: 237.8 kB / 0.5156 GB, free: 31.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.3618, allocations: 53.06 kB / 0.5157 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.3618, allocations: 57.19 kB / 0.5157 GB, free: 31.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.3619, allocations: 348.7 kB / 0.5161 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3622, allocations: 79 kB / 0.5162 GB, free: 31.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.3624, allocations: 170.5 kB / 0.5163 GB, free: 31.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.3629, allocations: 245.6 kB / 0.5166 GB, free: 31.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3629, allocations: 0 / 0.5166 GB, free: 31.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000592/0.3635, allocations: 308.7 kB / 0.5168 GB, free: 31.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3636, allocations: 8 kB / 0.5169 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3636, allocations: 2.75 kB / 0.5169 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3636, allocations: 5.844 kB / 0.5169 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.364, allocations: 98.34 kB / 0.517 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.364, allocations: 5.719 kB / 0.517 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.3642, allocations: 47.33 kB / 0.517 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3643, allocations: 8.75 kB / 0.517 GB, free: 31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.3644, allocations: 148.1 kB / 0.5172 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.3645, allocations: 37.45 kB / 0.5172 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.3646, allocations: 34.08 kB / 0.5172 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3646, allocations: 2.875 kB / 0.5172 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3646, allocations: 0 / 0.5172 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3646, allocations: 3.688 kB / 0.5172 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.3652, allocations: 0.5952 MB / 0.5178 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3652, allocations: 0 / 0.5178 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.3655, allocations: 71.14 kB / 0.5179 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3655, allocations: 2.562 kB / 0.5179 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3655, allocations: 6.969 kB / 0.5179 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3655, allocations: 2.594 kB / 0.5179 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3656, allocations: 160 / 0.5179 GB, free: 30.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.3664, allocations: 1.045 MB / 0.5189 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.3665, allocations: 109.2 kB / 0.519 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.3665, allocations: 3.375 kB / 0.519 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3667, allocations: 18.45 kB / 0.519 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.3668, allocations: 18.08 kB / 0.5191 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3668, allocations: 7.891 kB / 0.5191 GB, free: 29.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002255/0.3671, allocations: 230.2 kB / 0.5193 GB, free: 29.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3671, allocations: 0 / 0.5193 GB, free: 29.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.3675, allocations: 71.09 kB / 0.5193 GB, free: 29.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.246e-05/0.3676, allocations: 106.1 kB / 0.5195 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.3681, allocations: 194.9 kB / 0.5196 GB, free: 28.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3681, allocations: 2.75 kB / 0.5196 GB, free: 28.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.3683, allocations: 79 kB / 0.5197 GB, free: 28.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3688, allocations: 29.59 kB / 0.5197 GB, free: 28.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.3697, allocations: 0.8218 MB / 0.5205 GB, free: 28.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.3699, allocations: 0.7717 MB / 0.5213 GB, free: 27.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.37, allocations: 24.36 kB / 0.5213 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.3701, allocations: 19.09 kB / 0.5213 GB, free: 27.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3701, allocations: 0 / 0.5213 GB, free: 27.55 MB / 378.7 MB Notification: Performance of Templates: time 0.004251/0.3743, allocations: 1.686 MB / 0.523 GB, free: 27.4 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches