Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.3 MB / 258 MB, free: 8.211 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2431/0.2431, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents")
translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.86 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3899, allocations: 66.04 MB / 0.5616 GB, free: 4.535 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003176/0.3931, allocations: 1.744 MB / 0.5633 GB, free: 2.785 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001673/0.3932, allocations: 95.58 kB / 0.5634 GB, free: 2.691 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.3933, allocations: 0 / 0.5634 GB, free: 2.691 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.3933, allocations: 15.86 kB / 0.5634 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.3934, allocations: 15.8 kB / 0.5635 GB, free: 2.66 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.3935, allocations: 35.95 kB / 0.5635 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3937, allocations: 107.6 kB / 0.5636 GB, free: 2.52 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3938, allocations: 35.97 kB / 0.5636 GB, free: 2.484 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.3939, allocations: 51.83 kB / 0.5637 GB, free: 2.434 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.394, allocations: 51.78 kB / 0.5637 GB, free: 2.383 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.394, allocations: 8 kB / 0.5637 GB, free: 2.375 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/0.3941, allocations: 12 kB / 0.5638 GB, free: 2.363 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.3941, allocations: 23.92 kB / 0.5638 GB, free: 2.34 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.3942, allocations: 55.72 kB / 0.5638 GB, free: 2.285 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3943, allocations: 114.1 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.3944, allocations: 8 kB / 0.5639 GB, free: 2.172 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.864e-06/0.3944, allocations: 0 / 0.5639 GB, free: 2.172 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.262e-06/0.3944, allocations: 0 / 0.5639 GB, free: 2.172 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: 23
 * Number of variables: 23
Notification: Performance of Generate backend data structure: time 0.0006731/0.395, allocations: 345.9 kB / 0.5643 GB, free: 1.801 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3951, allocations: 8.031 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.3951, allocations: 12.83 kB / 0.5643 GB, free: 1.781 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3953, allocations: 122.4 kB / 0.5644 GB, free: 1.637 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3953, allocations: 12.36 kB / 0.5644 GB, free: 1.625 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3953, allocations: 12.38 kB / 0.5644 GB, free: 1.613 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.3956, allocations: 122.1 kB / 0.5646 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3957, allocations: 192 / 0.5646 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3957, allocations: 7.938 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3957, allocations: 0 / 0.5646 GB, free: 1.48 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.396, allocations: 115.8 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.3968, allocations: 438.5 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.397, allocations: 78.53 kB / 0.5652 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3973, allocations: 64.86 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3973, allocations: 4 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3973, allocations: 30.56 kB / 0.5653 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3973, allocations: 0 / 0.5653 GB, free: 0.6914 MB / 398.1 MB
Notification: Performance of matching and sorting (n=6): time 0.000756/0.3981, allocations: 190.3 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3981, allocations: 59.34 kB / 0.5655 GB, free: 436 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3982, allocations: 117.8 kB / 0.5656 GB, free: 308 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3982, allocations: 29.7 kB / 0.5656 GB, free: 272 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3984, allocations: 116.1 kB / 0.5657 GB, free: 148 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3984, allocations: 19.78 kB / 0.5658 GB, free: 128 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.3984, allocations: 21.72 kB / 0.5658 GB, free: 100 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001955/0.3986, allocations: 314.8 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3988, allocations: 35.95 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.399, allocations: 62.53 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.3993, allocations: 98.44 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3993, allocations: 7.938 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004122/0.3997, allocations: 146.7 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3997, allocations: 4 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3997, allocations: 0 / 0.5664 GB, free: 15.41 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.3999, allocations: 24.91 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4, allocations: 19.98 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4012, allocations: 1.299 MB / 0.5677 GB, free: 13.94 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.301e-05/0.4013, allocations: 12.02 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4013, allocations: 8.094 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (5):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4014, allocations: 125.8 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.4014, allocations: 11.89 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.4014, allocations: 8.375 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4014, allocations: 8.062 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4014, allocations: 0 / 0.5679 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4014, allocations: 0 / 0.5679 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.4021, allocations: 399.1 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4021, allocations: 0 / 0.5683 GB, free: 13.31 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4022, allocations: 16.02 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.23e-05/0.4023, allocations: 24.84 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.4023, allocations: 0 / 0.5683 GB, free: 13.27 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.4035, allocations: 1.311 MB / 0.5696 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4035, allocations: 0 / 0.5696 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.404, allocations: 241.1 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.404, allocations: 15.94 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.404, allocations: 0 / 0.5698 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.4042, allocations: 11.98 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.4043, allocations: 7.984 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4043, allocations: 4 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 8.27e-05/0.4043, allocations: 91.27 kB / 0.57 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4043, allocations: 4 kB / 0.57 GB, free: 11.46 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002714/0.4046, allocations: 35.83 kB / 0.57 GB, free: 11.42 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 simulation (4):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(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.000112/0.4047, allocations: 91.25 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005192/0.4052, allocations: 206.7 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4052, allocations: 4 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000262/0.4055, allocations: 158.6 kB / 0.5704 GB, free: 10.94 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4058, allocations: 11.94 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.4063, allocations: 214.1 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4067, allocations: 0.7002 MB / 0.5713 GB, free: 9.961 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 3.246e-05/0.4067, allocations: 3.75 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.4067, allocations: 11.44 kB / 0.5713 GB, free: 9.945 MB / 414.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.4067, allocations: 0 / 0.5713 GB, free: 9.945 MB / 414.1 MB
Notification: Performance of Templates: time 0.004018/0.4108, allocations: 1.163 MB / 0.5725 GB, free: 8.789 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.234986743889749]