Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001885/0.001885, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002314/0.002314, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.677/1.677, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3077/0.3077, allocations: 46.89 MB / 361.3 MB, free: 4.555 MB / 286.1 MB
"
[Timeout remaining time 179]
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.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage")
translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 84.12 kB / 0.497 GB, free: 7.617 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3885, allocations: 66.04 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008716/0.3972, allocations: 5.37 MB / 0.5668 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00406/0.4013, allocations: 1.674 MB / 0.5684 GB, free: 13.54 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005653/0.4018, allocations: 16 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003934/0.4058, allocations: 1.605 MB / 0.57 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001099/0.4069, allocations: 309.6 kB / 0.5703 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.4081, allocations: 0.5271 MB / 0.5708 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001297/0.4094, allocations: 0.8085 MB / 0.5716 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.4105, allocations: 0.5487 MB / 0.5721 GB, free: 9.703 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.411, allocations: 362.7 kB / 0.5725 GB, free: 9.348 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.4116, allocations: 462.2 kB / 0.5729 GB, free: 8.895 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4118, allocations: 76 kB / 0.573 GB, free: 8.82 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.4123, allocations: 199.9 kB / 0.5732 GB, free: 8.625 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.4124, allocations: 179.4 kB / 0.5734 GB, free: 8.449 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.4129, allocations: 425.9 kB / 0.5738 GB, free: 8.031 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001686/0.4146, allocations: 1.175 MB / 0.5749 GB, free: 6.855 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4146, allocations: 0 / 0.5749 GB, free: 6.855 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.873e-06/0.4146, allocations: 0 / 0.5749 GB, free: 6.855 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.393e-05/0.4146, allocations: 0 / 0.5749 GB, free: 6.855 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 252
 * Number of variables: 252
Notification: Performance of Generate backend data structure: time 0.003755/0.4184, allocations: 1.304 MB / 0.5762 GB, free: 5.52 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.4184, allocations: 8.031 kB / 0.5762 GB, free: 5.512 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.4201, allocations: 232.2 kB / 0.5764 GB, free: 5.285 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.4204, allocations: 205.4 kB / 0.5766 GB, free: 5.062 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.819e-05/0.4205, allocations: 74.38 kB / 0.5767 GB, free: 4.988 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.4206, allocations: 104.1 kB / 0.5768 GB, free: 4.887 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.4224, allocations: 0.936 MB / 0.5777 GB, free: 3.934 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.4225, allocations: 7.953 kB / 0.5777 GB, free: 3.926 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/0.4226, allocations: 40 kB / 0.5777 GB, free: 3.887 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.4226, allocations: 24 kB / 0.5778 GB, free: 3.863 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.424, allocations: 0.7262 MB / 0.5785 GB, free: 3.137 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006588/0.4305, allocations: 3.68 MB / 0.5821 GB, free: 15.17 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.4323, allocations: 0.7754 MB / 0.5828 GB, free: 14.37 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.4328, allocations: 267 kB / 0.5831 GB, free: 14.1 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.798e-05/0.4329, allocations: 24.31 kB / 0.5831 GB, free: 14.07 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.433, allocations: 38.89 kB / 0.5831 GB, free: 14.03 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.433, allocations: 0 / 0.5831 GB, free: 14.03 MB / 430.1 MB
Notification: Performance of matching and sorting (n=66): time 0.002808/0.4358, allocations: 1.017 MB / 0.5841 GB, free: 13 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.4359, allocations: 144.4 kB / 0.5843 GB, free: 12.82 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.4363, allocations: 320 kB / 0.5846 GB, free: 12.5 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.4363, allocations: 37.7 kB / 0.5846 GB, free: 12.46 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.4366, allocations: 411.8 kB / 0.585 GB, free: 12.05 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.4368, allocations: 242 kB / 0.5852 GB, free: 11.81 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.4371, allocations: 146.6 kB / 0.5854 GB, free: 11.66 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001845/0.4372, allocations: 358.7 kB / 0.5857 GB, free: 11.3 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.4376, allocations: 197.9 kB / 0.5859 GB, free: 11.11 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.4382, allocations: 398 kB / 0.5863 GB, free: 10.64 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.4394, allocations: 0.6258 MB / 0.5869 GB, free: 9.934 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4394, allocations: 4 kB / 0.5869 GB, free: 9.93 MB / 430.1 MB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.00173/0.4411, allocations: 0.8773 MB / 0.5878 GB, free: 9.035 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4412, allocations: 8.5 kB / 0.5878 GB, free: 9.027 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4412, allocations: 8 kB / 0.5878 GB, free: 9.02 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.4418, allocations: 223.2 kB / 0.588 GB, free: 8.789 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.4423, allocations: 139.8 kB / 0.5881 GB, free: 8.652 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006831/0.4492, allocations: 6.307 MB / 0.5943 GB, free: 1.883 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.4497, allocations: 79.41 kB / 0.5943 GB, free: 1.805 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.4498, allocations: 32 kB / 0.5944 GB, free: 1.773 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 26
 * 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 (82):
 * Single equations (assignments): 78
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003755/0.4502, allocations: 229.6 kB / 0.5946 GB, free: 1.539 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4503, allocations: 43.72 kB / 0.5946 GB, free: 1.496 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.4517, allocations: 0.688 MB / 0.5953 GB, free: 0.7891 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.4517, allocations: 8 kB / 0.5953 GB, free: 0.7812 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4517, allocations: 7.938 kB / 0.5953 GB, free: 0.7734 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.4517, allocations: 3.984 kB / 0.5953 GB, free: 0.7695 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.4545, allocations: 1.526 MB / 0.5968 GB, free: 15.18 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4545, allocations: 4 kB / 0.5968 GB, free: 15.18 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.4547, allocations: 64.19 kB / 0.5969 GB, free: 15.11 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005524/0.4553, allocations: 223.2 kB / 0.5971 GB, free: 14.88 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.4553, allocations: 12 kB / 0.5971 GB, free: 14.87 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006257/0.4616, allocations: 6.305 MB / 0.6033 GB, free: 8.109 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4616, allocations: 0 / 0.6033 GB, free: 8.109 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.4633, allocations: 1.187 MB / 0.6044 GB, free: 6.895 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.4634, allocations: 55.72 kB / 0.6045 GB, free: 6.84 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.4635, allocations: 12 kB / 0.6045 GB, free: 6.828 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.4638, allocations: 12 kB / 0.6045 GB, free: 6.816 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.464, allocations: 67.7 kB / 0.6046 GB, free: 6.75 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.464, allocations: 19.98 kB / 0.6046 GB, free: 6.73 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0003888/0.4644, allocations: 215 kB / 0.6048 GB, free: 6.52 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.5e-07/0.4644, allocations: 0 / 0.6048 GB, free: 6.52 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001253/0.4656, allocations: 283.3 kB / 0.6051 GB, free: 6.242 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003844/0.466, allocations: 147.1 kB / 0.6052 GB, free: 6.086 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002096/0.4681, allocations: 1.041 MB / 0.6062 GB, free: 4.992 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4681, allocations: 4 kB / 0.6062 GB, free: 4.988 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4693, allocations: 0.7527 MB / 0.607 GB, free: 4.184 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.47, allocations: 56.28 kB / 0.607 GB, free: 4.133 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.4725, allocations: 1.237 MB / 0.6082 GB, free: 2.855 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.4732, allocations: 0.9111 MB / 0.6091 GB, free: 1.914 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.000235/0.4734, allocations: 64.53 kB / 0.6092 GB, free: 1.852 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.4735, allocations: 43.42 kB / 0.6092 GB, free: 1.812 MB / 446.1 MB
Notification: Performance of SimCode: time 7.32e-07/0.4735, allocations: 4 kB / 0.6092 GB, free: 1.809 MB / 446.1 MB
Notification: Performance of Templates: time 0.01537/0.4889, allocations: 7.455 MB / 0.6165 GB, free: 10.37 MB / 462.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.887292775325477]