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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 113.2 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 185 kB / 18.71 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.91 kB / 470.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4264, allocations: 60.83 MB / 0.5189 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003205/0.4296, allocations: 1.72 MB / 0.5206 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001801/0.4298, allocations: 85.36 kB / 0.5206 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.4299, allocations: 1.125 kB / 0.5206 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.43, allocations: 17.3 kB / 0.5207 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.43, allocations: 21.14 kB / 0.5207 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.4302, allocations: 27.94 kB / 0.5207 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.4303, allocations: 107.3 kB / 0.5208 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.4305, allocations: 55.47 kB / 0.5209 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-05/0.4306, allocations: 42.03 kB / 0.5209 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.16e-05/0.4307, allocations: 56.52 kB / 0.521 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.4307, allocations: 10.62 kB / 0.521 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.4307, allocations: 11.22 kB / 0.521 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.4308, allocations: 22.28 kB / 0.521 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.4309, allocations: 51.66 kB / 0.521 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.431, allocations: 116.5 kB / 0.5212 GB, free: 2.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4311, allocations: 3.938 kB / 0.5212 GB, free: 2.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4311, allocations: 0 / 0.5212 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.4311, allocations: 0.9688 kB / 0.5212 GB, free: 2.355 MB / 382.1 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.000535/0.4316, allocations: 417.6 kB / 0.5216 GB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4317, allocations: 10.55 kB / 0.5216 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.4317, allocations: 9.438 kB / 0.5216 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4318, allocations: 177.9 kB / 0.5217 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4318, allocations: 7.969 kB / 0.5218 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.4319, allocations: 11.56 kB / 0.5218 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.4322, allocations: 120.9 kB / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.4322, allocations: 192 / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4322, allocations: 9.094 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.4323, allocations: 2.25 kB / 0.5219 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.4326, allocations: 105.2 kB / 0.522 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.4334, allocations: 487 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.4336, allocations: 81.75 kB / 0.5225 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.4339, allocations: 67.72 kB / 0.5226 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.4339, allocations: 3.938 kB / 0.5226 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.434, allocations: 32.59 kB / 0.5226 GB, free: 1.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.434, allocations: 0 / 0.5226 GB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008002/0.4348, allocations: 268.5 kB / 0.5229 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.4348, allocations: 52.5 kB / 0.5229 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.4349, allocations: 119.5 kB / 0.5231 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.4349, allocations: 26.77 kB / 0.5231 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.435, allocations: 112.3 kB / 0.5232 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.435, allocations: 20.75 kB / 0.5232 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.435, allocations: 23.27 kB / 0.5232 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.4351, allocations: 314.8 kB / 0.5235 GB, free: 324 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.4353, allocations: 38.25 kB / 0.5236 GB, free: 316 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4355, allocations: 61.55 kB / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.4358, allocations: 100.4 kB / 0.5237 GB, free: 232 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4358, allocations: 5.031 kB / 0.5237 GB, free: 228 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000401/0.4362, allocations: 151.9 kB / 0.5239 GB, free: 152 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4362, allocations: 4.25 kB / 0.5239 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4362, allocations: 1.406 kB / 0.5239 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.4364, allocations: 18.48 kB / 0.5239 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.4366, allocations: 21.77 kB / 0.5239 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.4377, allocations: 1.408 MB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.4378, allocations: 20.77 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4378, allocations: 6.156 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.745e-05/0.4379, allocations: 115.5 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.438, allocations: 10.84 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.438, allocations: 11.39 kB / 0.5254 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.438, allocations: 1.859 kB / 0.5254 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4381, allocations: 0 / 0.5254 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4381, allocations: 1.828 kB / 0.5254 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.4387, allocations: 421.9 kB / 0.5259 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4388, allocations: 2.812 kB / 0.5259 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.4389, allocations: 27.2 kB / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-05/0.4389, allocations: 17.58 kB / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.439, allocations: 9.469 kB / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009667/0.4399, allocations: 1.411 MB / 0.5273 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.44, allocations: 0 / 0.5273 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.4405, allocations: 241.1 kB / 0.5275 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.4406, allocations: 83.7 kB / 0.5276 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4406, allocations: 1.031 kB / 0.5276 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4407, allocations: 19.36 kB / 0.5276 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.4408, allocations: 12.34 kB / 0.5276 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4408, allocations: 1.812 kB / 0.5276 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.4409, allocations: 97.2 kB / 0.5277 GB, free: 12.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4409, allocations: 0 / 0.5277 GB, free: 12.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.4412, allocations: 26.28 kB / 0.5277 GB, free: 12.36 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001172/0.4413, allocations: 96.81 kB / 0.5278 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006125/0.442, allocations: 206.8 kB / 0.528 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.442, allocations: 1.375 kB / 0.528 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.4423, allocations: 164.5 kB / 0.5282 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4426, allocations: 7.875 kB / 0.5282 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.4432, allocations: 215.1 kB / 0.5284 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4435, allocations: 0.7012 MB / 0.5291 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.4435, allocations: 1.891 kB / 0.5291 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.4436, allocations: 10.19 kB / 0.5291 GB, free: 11.13 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4436, allocations: 0 / 0.5291 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Templates: time 0.004377/0.448, allocations: 1.119 MB / 0.5302 GB, free: 10.69 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches