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.001143/0.001143, allocations: 106.8 kB / 18.45 MB, free: 4.699 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.001148/0.001148, allocations: 183.1 kB / 19.38 MB, free: 3.777 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.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.209/0.209, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3377, allocations: 60.81 MB / 0.5195 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003719/0.3415, allocations: 1.725 MB / 0.5212 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.3417, allocations: 88.88 kB / 0.5213 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.3418, allocations: 6.688 kB / 0.5213 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.3418, allocations: 12.88 kB / 0.5213 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.3419, allocations: 20.56 kB / 0.5213 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.342, allocations: 27.72 kB / 0.5214 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3422, allocations: 107 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3424, allocations: 48.2 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.3424, allocations: 46.25 kB / 0.5216 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.3425, allocations: 56.06 kB / 0.5216 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3426, allocations: 14.56 kB / 0.5216 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.859e-05/0.3426, allocations: 10.72 kB / 0.5216 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.3426, allocations: 23.94 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.3427, allocations: 46.41 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3429, allocations: 119.8 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3429, allocations: 0.8906 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3429, allocations: 0 / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.3429, allocations: 3.938 kB / 0.5218 GB, free: 2.086 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.0005603/0.3434, allocations: 421.7 kB / 0.5222 GB, free: 1.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3435, allocations: 9.812 kB / 0.5222 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.3435, allocations: 13.31 kB / 0.5222 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.264e-05/0.3436, allocations: 178.1 kB / 0.5224 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3437, allocations: 9.125 kB / 0.5224 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3437, allocations: 9.375 kB / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.344, allocations: 121.4 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.3441, allocations: 192 / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3441, allocations: 9.062 kB / 0.5226 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3441, allocations: 3.812 kB / 0.5226 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.3445, allocations: 104.5 kB / 0.5227 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.3452, allocations: 482.5 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.3454, allocations: 82.22 kB / 0.5232 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.3457, allocations: 66.89 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3457, allocations: 5.281 kB / 0.5233 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3457, allocations: 36.28 kB / 0.5233 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3458, allocations: 0 / 0.5233 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007997/0.3466, allocations: 268.9 kB / 0.5236 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.513e-05/0.3466, allocations: 52.59 kB / 0.5236 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.3467, allocations: 123.5 kB / 0.5237 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3467, allocations: 25.7 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3467, allocations: 112.7 kB / 0.5239 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3468, allocations: 20.28 kB / 0.5239 GB, free: 380 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.3468, allocations: 19.19 kB / 0.5239 GB, free: 360 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.3469, allocations: 323.3 kB / 0.5242 GB, free: 32 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.347, allocations: 38.39 kB / 0.5242 GB, free: 24 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.3472, allocations: 60.48 kB / 0.5243 GB, free: 15.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.3476, allocations: 96.66 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3476, allocations: 1.219 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004308/0.348, allocations: 150.7 kB / 0.5245 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.348, allocations: 8.406 kB / 0.5245 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.348, allocations: 2.125 kB / 0.5245 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.3482, allocations: 22.88 kB / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3483, allocations: 17.05 kB / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.3494, allocations: 1.403 MB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3495, allocations: 21.3 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3495, allocations: 2.188 kB / 0.526 GB, free: 14.42 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 8.731e-05/0.3496, allocations: 123.4 kB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3496, allocations: 10.98 kB / 0.5261 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.3497, allocations: 10.91 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3497, allocations: 0.6094 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3497, allocations: 1.469 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.3497, allocations: 82.83 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3497, allocations: 1.641 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.3499, allocations: 18.83 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3499, allocations: 8.188 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005179/0.3504, allocations: 235.5 kB / 0.5264 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005748/0.351, allocations: 339.4 kB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001692/0.3512, allocations: 42.36 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.011e-05/0.3513, allocations: 99.89 kB / 0.5269 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Backend: time 2.6e-07/0.3513, allocations: 1.062 kB / 0.5269 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.3519, allocations: 238.4 kB / 0.5271 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006348/0.3525, allocations: 0.6741 MB / 0.5278 GB, free: 12.85 MB / 398.1 MB Notification: Performance of Templates: time 0.003568/0.3561, allocations: 1.195 MB / 0.529 GB, free: 12.46 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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