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.001099/0.001099, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 79.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3752, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003849/0.3791, allocations: 2.489 MB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3809, allocations: 1.088 MB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.381, allocations: 9.531 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3823, allocations: 0.4989 MB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.3825, allocations: 106.6 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.3834, allocations: 483.1 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3837, allocations: 224.3 kB / 0.5364 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.3842, allocations: 260.2 kB / 0.5367 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3844, allocations: 101 kB / 0.5368 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.3845, allocations: 120.4 kB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.3846, allocations: 22.72 kB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003011/0.3849, allocations: 153.5 kB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.385, allocations: 46.62 kB / 0.5371 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3851, allocations: 117.4 kB / 0.5372 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.3857, allocations: 401.2 kB / 0.5376 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3857, allocations: 5.109 kB / 0.5376 GB, free: 9.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3857, allocations: 0 / 0.5376 GB, free: 9.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3857, allocations: 4 kB / 0.5376 GB, free: 9.102 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.001417/0.3871, allocations: 0.6162 MB / 0.5382 GB, free: 8.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3872, allocations: 9.5 kB / 0.5382 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.3875, allocations: 53.14 kB / 0.5382 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3878, allocations: 190.9 kB / 0.5384 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3878, allocations: 27.28 kB / 0.5385 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.3879, allocations: 24.88 kB / 0.5385 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.3885, allocations: 291.9 kB / 0.5388 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3885, allocations: 3.938 kB / 0.5388 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3885, allocations: 10.31 kB / 0.5388 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3885, allocations: 10.47 kB / 0.5388 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.3891, allocations: 230.8 kB / 0.539 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3906, allocations: 0.9905 MB / 0.54 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.3911, allocations: 381.1 kB / 0.5403 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.3915, allocations: 137.4 kB / 0.5405 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.3917, allocations: 174 kB / 0.5406 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3917, allocations: 41.38 kB / 0.5407 GB, free: 6.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.3918, allocations: 0 / 0.5407 GB, free: 6.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001198/0.393, allocations: 0.4951 MB / 0.5412 GB, free: 6.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.393, allocations: 79.45 kB / 0.5412 GB, free: 5.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3931, allocations: 141.3 kB / 0.5414 GB, free: 5.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3932, allocations: 27.11 kB / 0.5414 GB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.3932, allocations: 146.4 kB / 0.5415 GB, free: 5.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.3933, allocations: 70.47 kB / 0.5416 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.3934, allocations: 33.97 kB / 0.5416 GB, free: 5.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3935, allocations: 323 kB / 0.5419 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.3937, allocations: 72.56 kB / 0.542 GB, free: 5.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.394, allocations: 122.1 kB / 0.5421 GB, free: 5.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.3944, allocations: 201.2 kB / 0.5423 GB, free: 5.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3945, allocations: 1.188 kB / 0.5423 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007921/0.3952, allocations: 288.2 kB / 0.5426 GB, free: 4.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3953, allocations: 6 kB / 0.5426 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3953, allocations: 1.531 kB / 0.5426 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.3955, allocations: 47.84 kB / 0.5426 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3957, allocations: 46.97 kB / 0.5427 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.398, allocations: 2.84 MB / 0.5455 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.3982, allocations: 35.52 kB / 0.5455 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3982, allocations: 9.469 kB / 0.5455 GB, free: 1.832 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.0001415/0.3984, allocations: 141.3 kB / 0.5456 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.3985, allocations: 14.06 kB / 0.5457 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.3991, allocations: 270.4 kB / 0.5459 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3992, allocations: 5.328 kB / 0.5459 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3992, allocations: 0 / 0.5459 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3992, allocations: 93.61 kB / 0.546 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3993, allocations: 5.188 kB / 0.546 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.3994, allocations: 15.86 kB / 0.546 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.3995, allocations: 20.53 kB / 0.546 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000788/0.4003, allocations: 430.3 kB / 0.5465 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007919/0.4011, allocations: 0.5214 MB / 0.547 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002203/0.4013, allocations: 87.72 kB / 0.547 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.087e-05/0.4014, allocations: 110.2 kB / 0.5472 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.4014, allocations: 0 / 0.5472 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.4026, allocations: 497.3 kB / 0.5476 GB, free: 132 kB / 398.1 MB Notification: Performance of SimCode: time 0.0009876/0.4036, allocations: 0.8801 MB / 0.5485 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Templates: time 0.007232/0.4108, allocations: 3.43 MB / 0.5518 GB, free: 12.21 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