Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000854/0.0008541, allocations: 98.67 kB / 295.1 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3291/0.3291, allocations: 44.31 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 4 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 61.91 MB / 0.5127 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002249/0.3149, allocations: 2.064 MB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3162, allocations: 1.507 MB / 0.5162 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.3163, allocations: 5.594 kB / 0.5162 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.3166, allocations: 107.3 kB / 0.5163 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3168, allocations: 84.81 kB / 0.5164 GB, free: 35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3178, allocations: 1.34 MB / 0.5177 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3181, allocations: 210 kB / 0.5179 GB, free: 33.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008333/0.3189, allocations: 0.807 MB / 0.5187 GB, free: 32.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3191, allocations: 82.38 kB / 0.5188 GB, free: 32.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3192, allocations: 109.7 kB / 0.5189 GB, free: 32.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3193, allocations: 9.562 kB / 0.5189 GB, free: 32.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.3195, allocations: 126.2 kB / 0.519 GB, free: 32.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.3196, allocations: 38.19 kB / 0.5191 GB, free: 32.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.3197, allocations: 127.3 kB / 0.5192 GB, free: 32.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.3201, allocations: 374.1 kB / 0.5195 GB, free: 32.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3201, allocations: 0 / 0.5195 GB, free: 32.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3201, allocations: 0 / 0.5195 GB, free: 32.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3201, allocations: 0 / 0.5195 GB, free: 32.5 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001074/0.3212, allocations: 0.5905 MB / 0.5201 GB, free: 32.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3213, allocations: 8.75 kB / 0.5201 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.3216, allocations: 49.83 kB / 0.5202 GB, free: 32.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.3217, allocations: 188.6 kB / 0.5204 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3217, allocations: 22.56 kB / 0.5204 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.3218, allocations: 24.91 kB / 0.5204 GB, free: 31.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.3223, allocations: 303.8 kB / 0.5207 GB, free: 31.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3224, allocations: 0 / 0.5207 GB, free: 31.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.3224, allocations: 10.81 kB / 0.5207 GB, free: 31.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3224, allocations: 7.031 kB / 0.5207 GB, free: 31.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.323, allocations: 248.5 kB / 0.5209 GB, free: 31.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3242, allocations: 1.014 MB / 0.5219 GB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.3246, allocations: 390.2 kB / 0.5223 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.3249, allocations: 139 kB / 0.5224 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.852e-05/0.325, allocations: 90.06 kB / 0.5225 GB, free: 30.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.325, allocations: 34.88 kB / 0.5226 GB, free: 30.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.063e-06/0.325, allocations: 0 / 0.5226 GB, free: 30.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.00106/0.3261, allocations: 0.5351 MB / 0.5231 GB, free: 29.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.3261, allocations: 80.11 kB / 0.5232 GB, free: 29.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.3262, allocations: 133.5 kB / 0.5233 GB, free: 29.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3262, allocations: 29.7 kB / 0.5233 GB, free: 29.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.3263, allocations: 154.8 kB / 0.5235 GB, free: 29.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3263, allocations: 66.81 kB / 0.5235 GB, free: 29.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.3264, allocations: 4 kB / 0.5235 GB, free: 29.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.3264, allocations: 321 kB / 0.5238 GB, free: 29.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3266, allocations: 85.44 kB / 0.5239 GB, free: 29.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3268, allocations: 130.8 kB / 0.524 GB, free: 29.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.3272, allocations: 221.7 kB / 0.5243 GB, free: 29.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3272, allocations: 0 / 0.5243 GB, free: 29.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005469/0.3278, allocations: 309.5 kB / 0.5245 GB, free: 28.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3278, allocations: 5.938 kB / 0.5246 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3278, allocations: 6.844 kB / 0.5246 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.328, allocations: 48.64 kB / 0.5246 GB, free: 28.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3282, allocations: 53.62 kB / 0.5247 GB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3294, allocations: 2.632 MB / 0.5272 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3296, allocations: 32.64 kB / 0.5273 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3296, allocations: 5.812 kB / 0.5273 GB, free: 26.15 MB / 378.7 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.000102/0.3297, allocations: 141.6 kB / 0.5274 GB, free: 26.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.3298, allocations: 20.75 kB / 0.5274 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.3303, allocations: 282.9 kB / 0.5277 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3303, allocations: 2.594 kB / 0.5277 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3304, allocations: 6.5 kB / 0.5277 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3304, allocations: 3.938 kB / 0.5277 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/0.3312, allocations: 0.6647 MB / 0.5284 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3313, allocations: 0 / 0.5284 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3314, allocations: 43.61 kB / 0.5284 GB, free: 25.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.3315, allocations: 44.36 kB / 0.5284 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3316, allocations: 6.875 kB / 0.5284 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3326, allocations: 2.644 MB / 0.531 GB, free: 22.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3327, allocations: 2.812 kB / 0.531 GB, free: 22.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.3334, allocations: 0.5442 MB / 0.5316 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.3334, allocations: 98.69 kB / 0.5317 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3334, allocations: 10.14 kB / 0.5317 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.3336, allocations: 22.94 kB / 0.5317 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.3337, allocations: 23.53 kB / 0.5317 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3337, allocations: 5.562 kB / 0.5317 GB, free: 22.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.3338, allocations: 112.4 kB / 0.5318 GB, free: 22.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3338, allocations: 0 / 0.5318 GB, free: 22.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003744/0.3341, allocations: 68.16 kB / 0.5319 GB, free: 22.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * 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 Backend phase and start with SimCode phase: time 0.0001654/0.3343, allocations: 126.3 kB / 0.532 GB, free: 22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.335, allocations: 444 kB / 0.5324 GB, free: 21.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.335, allocations: 0 / 0.5324 GB, free: 21.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.3353, allocations: 340.6 kB / 0.5328 GB, free: 21.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3357, allocations: 16.83 kB / 0.5328 GB, free: 21.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/0.3365, allocations: 0.5791 MB / 0.5333 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.3367, allocations: 0.7389 MB / 0.5341 GB, free: 20.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.532e-05/0.3368, allocations: 14.14 kB / 0.5341 GB, free: 20.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.3368, allocations: 13.47 kB / 0.5341 GB, free: 20.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3368, allocations: 4 kB / 0.5341 GB, free: 20.3 MB / 378.7 MB Notification: Performance of Templates: time 0.00473/0.3416, allocations: 2.115 MB / 0.5362 GB, free: 20.11 MB / 378.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