Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 115.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3042, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003499/0.3078, allocations: 2.482 MB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3094, allocations: 1.092 MB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.3095, allocations: 9.5 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3107, allocations: 0.4951 MB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.3109, allocations: 105.9 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.3117, allocations: 486.6 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.312, allocations: 222 kB / 0.5364 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.3124, allocations: 255.5 kB / 0.5366 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3126, allocations: 101.8 kB / 0.5367 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3128, allocations: 124.2 kB / 0.5369 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.3128, allocations: 22.59 kB / 0.5369 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.3131, allocations: 160.8 kB / 0.537 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.3132, allocations: 47.06 kB / 0.5371 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3133, allocations: 113.4 kB / 0.5372 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3137, allocations: 401.7 kB / 0.5376 GB, free: 9.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3137, allocations: 1.25 kB / 0.5376 GB, free: 9.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3137, allocations: 0 / 0.5376 GB, free: 9.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3137, allocations: 0 / 0.5376 GB, free: 9.09 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.001225/0.315, allocations: 0.6233 MB / 0.5382 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.315, allocations: 8.312 kB / 0.5382 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.3153, allocations: 55.22 kB / 0.5382 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3155, allocations: 190.7 kB / 0.5384 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3155, allocations: 18.91 kB / 0.5384 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.3156, allocations: 23.97 kB / 0.5385 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.3161, allocations: 296.8 kB / 0.5388 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.3162, allocations: 3.938 kB / 0.5388 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.3162, allocations: 14.22 kB / 0.5388 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3162, allocations: 6.469 kB / 0.5388 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.3168, allocations: 226.9 kB / 0.539 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.3182, allocations: 0.9905 MB / 0.54 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.3187, allocations: 385.6 kB / 0.5403 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.319, allocations: 136.8 kB / 0.5405 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.3192, allocations: 166.8 kB / 0.5406 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3192, allocations: 35.81 kB / 0.5406 GB, free: 6.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.3192, allocations: 0 / 0.5406 GB, free: 6.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001108/0.3203, allocations: 0.5055 MB / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.3204, allocations: 80.23 kB / 0.5412 GB, free: 5.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3205, allocations: 138.5 kB / 0.5414 GB, free: 5.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3205, allocations: 30.95 kB / 0.5414 GB, free: 5.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.3206, allocations: 146.1 kB / 0.5415 GB, free: 5.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.3207, allocations: 65.84 kB / 0.5416 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3208, allocations: 39.92 kB / 0.5416 GB, free: 5.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3209, allocations: 325.6 kB / 0.5419 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3211, allocations: 72.64 kB / 0.542 GB, free: 5.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.3213, allocations: 117 kB / 0.5421 GB, free: 5.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.3217, allocations: 209.1 kB / 0.5423 GB, free: 5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3218, allocations: 0 / 0.5423 GB, free: 5 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006169/0.3224, allocations: 288.2 kB / 0.5426 GB, free: 4.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3224, allocations: 7.781 kB / 0.5426 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3224, allocations: 2.281 kB / 0.5426 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.3226, allocations: 48.25 kB / 0.5426 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3228, allocations: 43.59 kB / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.3247, allocations: 2.839 MB / 0.5455 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3249, allocations: 27.66 kB / 0.5455 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3249, allocations: 9.688 kB / 0.5455 GB, free: 1.824 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.0001235/0.325, allocations: 144.4 kB / 0.5456 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.3251, allocations: 18.86 kB / 0.5456 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006016/0.3257, allocations: 260.2 kB / 0.5459 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3257, allocations: 1.156 kB / 0.5459 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3257, allocations: 4 kB / 0.5459 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.3258, allocations: 93.36 kB / 0.546 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3258, allocations: 2.438 kB / 0.546 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.326, allocations: 19.03 kB / 0.546 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.3261, allocations: 20.27 kB / 0.546 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007434/0.3268, allocations: 430.4 kB / 0.5464 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007048/0.3275, allocations: 0.5329 MB / 0.547 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002037/0.3277, allocations: 78.53 kB / 0.547 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.3278, allocations: 103.8 kB / 0.5471 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3278, allocations: 4 kB / 0.5471 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3288, allocations: 499.9 kB / 0.5476 GB, free: 124 kB / 398.1 MB Notification: Performance of SimCode: time 0.000895/0.3297, allocations: 0.8883 MB / 0.5485 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Templates: time 0.006641/0.3364, allocations: 3.508 MB / 0.5519 GB, free: 12.1 MB / 414.1 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/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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches