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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001753/0.001753, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.457/1.457, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2235/0.2235, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3567, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003549/0.3603, allocations: 2.47 MB / 0.522 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3619, allocations: 1.033 MB / 0.523 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.362, allocations: 4.562 kB / 0.523 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.3634, allocations: 0.5025 MB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.3637, allocations: 99.2 kB / 0.5236 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3648, allocations: 0.6318 MB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.3652, allocations: 222.9 kB / 0.5244 GB, free: 288 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.3656, allocations: 259.9 kB / 0.5246 GB, free: 148 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.3658, allocations: 99.62 kB / 0.5247 GB, free: 96 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.366, allocations: 125.3 kB / 0.5249 GB, free: 32 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.3661, allocations: 25.75 kB / 0.5249 GB, free: 28 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.3665, allocations: 143.4 kB / 0.525 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.3665, allocations: 53.72 kB / 0.5251 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3666, allocations: 115.9 kB / 0.5252 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.3672, allocations: 398.4 kB / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3672, allocations: 0 / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3672, allocations: 0 / 0.5256 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.3673, allocations: 0 / 0.5256 GB, free: 15.71 MB / 398.1 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.001379/0.3686, allocations: 0.6141 MB / 0.5262 GB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3687, allocations: 12.81 kB / 0.5262 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.3691, allocations: 56.62 kB / 0.5262 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3692, allocations: 190.9 kB / 0.5264 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3693, allocations: 19.69 kB / 0.5264 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.3693, allocations: 24.03 kB / 0.5265 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.37, allocations: 291.7 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.37, allocations: 1 kB / 0.5267 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.3701, allocations: 14.22 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.3701, allocations: 10 kB / 0.5268 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.3707, allocations: 225.3 kB / 0.527 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.3722, allocations: 0.9999 MB / 0.5279 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.3727, allocations: 378.1 kB / 0.5283 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.3731, allocations: 145 kB / 0.5284 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.64e-05/0.3732, allocations: 86.59 kB / 0.5285 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3732, allocations: 31.94 kB / 0.5286 GB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.3732, allocations: 0 / 0.5286 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001199/0.3744, allocations: 0.4949 MB / 0.529 GB, free: 13.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3745, allocations: 90.39 kB / 0.5291 GB, free: 12.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3746, allocations: 139.4 kB / 0.5293 GB, free: 12.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3746, allocations: 31.42 kB / 0.5293 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.3747, allocations: 140.6 kB / 0.5294 GB, free: 12.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.3748, allocations: 70.83 kB / 0.5295 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.3748, allocations: 36.34 kB / 0.5295 GB, free: 12.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3749, allocations: 320.3 kB / 0.5298 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.3752, allocations: 77.91 kB / 0.5299 GB, free: 12.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3754, allocations: 113.9 kB / 0.53 GB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.3759, allocations: 210.3 kB / 0.5302 GB, free: 11.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3759, allocations: 0 / 0.5302 GB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006179/0.3765, allocations: 279.9 kB / 0.5305 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3765, allocations: 11.72 kB / 0.5305 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3766, allocations: 2.641 kB / 0.5305 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.3768, allocations: 56.03 kB / 0.5306 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.377, allocations: 43.31 kB / 0.5306 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.3789, allocations: 2.842 MB / 0.5334 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.3791, allocations: 27.64 kB / 0.5334 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3791, allocations: 5.281 kB / 0.5334 GB, free: 8.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.3793, allocations: 140.7 kB / 0.5335 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.3794, allocations: 18.97 kB / 0.5336 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/0.38, allocations: 268.5 kB / 0.5338 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.38, allocations: 0 / 0.5338 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.38, allocations: 1 kB / 0.5338 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.3801, allocations: 93.2 kB / 0.5339 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3801, allocations: 6.281 kB / 0.5339 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3803, allocations: 14.83 kB / 0.5339 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.3804, allocations: 21.03 kB / 0.5339 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00079/0.3812, allocations: 432.2 kB / 0.5343 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007783/0.382, allocations: 0.5229 MB / 0.5349 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002206/0.3822, allocations: 76.84 kB / 0.5349 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.95e-05/0.3823, allocations: 109.4 kB / 0.535 GB, free: 7.488 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.3823, allocations: 1.156 kB / 0.535 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3834, allocations: 484.3 kB / 0.5355 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009521/0.3844, allocations: 0.8884 MB / 0.5364 GB, free: 6.293 MB / 398.1 MB Notification: Performance of Templates: time 0.00709/0.3915, allocations: 3.381 MB / 0.5397 GB, free: 4.559 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches