Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007639, allocations: 94.83 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3041/0.3041, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 4.219 kB / 470.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2879, allocations: 63.11 MB / 0.5214 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002189/0.2901, allocations: 2.084 MB / 0.5234 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2915, allocations: 1.768 MB / 0.5251 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.2916, allocations: 5.781 kB / 0.5251 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.2919, allocations: 114.7 kB / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.2921, allocations: 81.05 kB / 0.5253 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.2929, allocations: 0.9815 MB / 0.5263 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.2932, allocations: 209.8 kB / 0.5265 GB, free: 34.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008135/0.294, allocations: 0.7983 MB / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.2942, allocations: 87.94 kB / 0.5274 GB, free: 33.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2943, allocations: 108.9 kB / 0.5275 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.2943, allocations: 15.59 kB / 0.5275 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.2946, allocations: 132.1 kB / 0.5276 GB, free: 33.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.2946, allocations: 35.64 kB / 0.5276 GB, free: 33.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/0.2947, allocations: 124.2 kB / 0.5277 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.2951, allocations: 380.9 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2951, allocations: 0 / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2952, allocations: 0 / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2952, allocations: 4 kB / 0.5281 GB, free: 33.13 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.001063/0.2962, allocations: 0.582 MB / 0.5287 GB, free: 32.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2963, allocations: 12.69 kB / 0.5287 GB, free: 32.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.2966, allocations: 51.69 kB / 0.5287 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2967, allocations: 196.7 kB / 0.5289 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2967, allocations: 17.19 kB / 0.529 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.2968, allocations: 26.09 kB / 0.529 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.2973, allocations: 298.6 kB / 0.5293 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2973, allocations: 3.938 kB / 0.5293 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.2973, allocations: 10.94 kB / 0.5293 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2973, allocations: 5.906 kB / 0.5293 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.2978, allocations: 257 kB / 0.5295 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2991, allocations: 1.005 MB / 0.5305 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.2995, allocations: 395.7 kB / 0.5309 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.2998, allocations: 140.2 kB / 0.531 GB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.2999, allocations: 167.5 kB / 0.5312 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3, allocations: 41.09 kB / 0.5312 GB, free: 30.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.3, allocations: 4 kB / 0.5312 GB, free: 30.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001041/0.301, allocations: 0.5248 MB / 0.5317 GB, free: 30.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.3011, allocations: 83.34 kB / 0.5318 GB, free: 30.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.3012, allocations: 137.6 kB / 0.5319 GB, free: 30.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3012, allocations: 28.64 kB / 0.532 GB, free: 30.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.3012, allocations: 147.4 kB / 0.5321 GB, free: 30.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3013, allocations: 68.67 kB / 0.5322 GB, free: 30.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.3013, allocations: 0 / 0.5322 GB, free: 30.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.3013, allocations: 329.6 kB / 0.5325 GB, free: 29.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3015, allocations: 77.39 kB / 0.5326 GB, free: 29.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.3017, allocations: 135.3 kB / 0.5327 GB, free: 29.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.3021, allocations: 229.3 kB / 0.5329 GB, free: 29.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3021, allocations: 3.938 kB / 0.5329 GB, free: 29.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005339/0.3027, allocations: 300.8 kB / 0.5332 GB, free: 29.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3027, allocations: 5.781 kB / 0.5332 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3027, allocations: 6.688 kB / 0.5332 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.3029, allocations: 49.73 kB / 0.5333 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3031, allocations: 50.03 kB / 0.5333 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.3044, allocations: 2.632 MB / 0.5359 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.3045, allocations: 38.97 kB / 0.5359 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.3046, allocations: 6.562 kB / 0.5359 GB, free: 26.69 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.0001032/0.3047, allocations: 136.6 kB / 0.5361 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.3047, allocations: 22.38 kB / 0.5361 GB, free: 26.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.3053, allocations: 288.6 kB / 0.5364 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3053, allocations: 2.625 kB / 0.5364 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3053, allocations: 2.625 kB / 0.5364 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3053, allocations: 3.938 kB / 0.5364 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008618/0.3062, allocations: 0.6684 MB / 0.537 GB, free: 25.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3062, allocations: 4 kB / 0.537 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3064, allocations: 44.61 kB / 0.5371 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.3065, allocations: 44.72 kB / 0.5371 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3065, allocations: 6.875 kB / 0.5371 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.3076, allocations: 2.639 MB / 0.5397 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3077, allocations: 0 / 0.5397 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.3084, allocations: 0.5473 MB / 0.5402 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.3084, allocations: 96.75 kB / 0.5403 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3084, allocations: 6.938 kB / 0.5403 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3086, allocations: 22.53 kB / 0.5403 GB, free: 22.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.3087, allocations: 20.55 kB / 0.5404 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3087, allocations: 5.219 kB / 0.5404 GB, free: 22.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.3088, allocations: 107.6 kB / 0.5405 GB, free: 22.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3088, allocations: 0 / 0.5405 GB, free: 22.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.3091, allocations: 72.41 kB / 0.5405 GB, free: 22.65 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.0001812/0.3093, allocations: 137.7 kB / 0.5407 GB, free: 22.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.3099, allocations: 443.5 kB / 0.5411 GB, free: 22.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.31, allocations: 4 kB / 0.5411 GB, free: 22.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.3103, allocations: 331.2 kB / 0.5414 GB, free: 21.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.3106, allocations: 12.91 kB / 0.5414 GB, free: 21.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.3113, allocations: 0.5903 MB / 0.542 GB, free: 21.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.3114, allocations: 0.7388 MB / 0.5427 GB, free: 20.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.3115, allocations: 16.64 kB / 0.5427 GB, free: 20.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.3116, allocations: 19.25 kB / 0.5428 GB, free: 20.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3116, allocations: 0 / 0.5428 GB, free: 20.83 MB / 378.7 MB Notification: Performance of Templates: time 0.005367/0.3169, allocations: 2.147 MB / 0.5449 GB, free: 20.65 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches