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.001972/0.001972, allocations: 82.02 kB / 21.25 MB, free: 0.5469 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.002204/0.002204, allocations: 165.6 kB / 24.5 MB, free: 3.848 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.488/1.488, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.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.2146/0.2146, allocations: 34.25 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 180] 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.002516/0.002516, allocations: 87.86 kB / 443.2 MB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.371, allocations: 66.05 MB / 0.4973 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005559/0.3766, allocations: 4.764 MB / 0.5019 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.3795, allocations: 1.572 MB / 0.5035 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.3802, allocations: 18.75 kB / 0.5035 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003293/0.3835, allocations: 1.555 MB / 0.505 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.3846, allocations: 317.6 kB / 0.5053 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3856, allocations: 0.4998 MB / 0.5058 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006939/0.3863, allocations: 0.7976 MB / 0.5066 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007563/0.3871, allocations: 0.626 MB / 0.5072 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.3874, allocations: 351.7 kB / 0.5075 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.3879, allocations: 406.7 kB / 0.5079 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.886e-05/0.3879, allocations: 80.03 kB / 0.508 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.3883, allocations: 187.5 kB / 0.5082 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.3884, allocations: 180.2 kB / 0.5083 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.3886, allocations: 339.9 kB / 0.5087 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.3896, allocations: 1.185 MB / 0.5098 GB, free: 22.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3896, allocations: 0 / 0.5098 GB, free: 22.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3896, allocations: 0 / 0.5098 GB, free: 22.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3896, allocations: 0 / 0.5098 GB, free: 22.14 MB / 446.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.002956/0.3926, allocations: 1.305 MB / 0.5111 GB, free: 21.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3926, allocations: 9 kB / 0.5111 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.3942, allocations: 235.1 kB / 0.5113 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3943, allocations: 203.1 kB / 0.5115 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.3944, allocations: 73.81 kB / 0.5116 GB, free: 21.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3945, allocations: 104.5 kB / 0.5117 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.396, allocations: 0.9389 MB / 0.5126 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.3961, allocations: 6.812 kB / 0.5126 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.3961, allocations: 40.66 kB / 0.5126 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.3962, allocations: 23.41 kB / 0.5127 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.3974, allocations: 0.7198 MB / 0.5134 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004115/0.4015, allocations: 2.721 MB / 0.516 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.4031, allocations: 0.7593 MB / 0.5168 GB, free: 18.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.4035, allocations: 269.3 kB / 0.517 GB, free: 18.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.4036, allocations: 28.55 kB / 0.5171 GB, free: 18.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4036, allocations: 44.05 kB / 0.5171 GB, free: 17.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.816e-06/0.4036, allocations: 3.938 kB / 0.5171 GB, free: 17.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002607/0.4062, allocations: 1.013 MB / 0.5181 GB, free: 17.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.4063, allocations: 140.1 kB / 0.5182 GB, free: 17.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.4067, allocations: 299.7 kB / 0.5185 GB, free: 17.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4067, allocations: 36.08 kB / 0.5185 GB, free: 17.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.4069, allocations: 415.2 kB / 0.5189 GB, free: 16.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.407, allocations: 243.9 kB / 0.5192 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4072, allocations: 148 kB / 0.5193 GB, free: 16.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.4073, allocations: 348.8 kB / 0.5196 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.4076, allocations: 200.1 kB / 0.5198 GB, free: 16.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.4081, allocations: 401.3 kB / 0.5202 GB, free: 15.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.4089, allocations: 0.6275 MB / 0.5208 GB, free: 15.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4089, allocations: 5.375 kB / 0.5208 GB, free: 15.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001502/0.4104, allocations: 0.8776 MB / 0.5217 GB, free: 15.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4104, allocations: 8.422 kB / 0.5217 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4104, allocations: 6.312 kB / 0.5217 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.4111, allocations: 225.1 kB / 0.5219 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.4116, allocations: 142.1 kB / 0.5221 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.4157, allocations: 6.162 MB / 0.5281 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.4163, allocations: 79.48 kB / 0.5281 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.4163, allocations: 40.59 kB / 0.5282 GB, free: 9.297 MB / 446.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.0003106/0.4166, allocations: 217.2 kB / 0.5284 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4168, allocations: 47.06 kB / 0.5284 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.418, allocations: 0.6875 MB / 0.5291 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.418, allocations: 12.09 kB / 0.5291 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4181, allocations: 5.266 kB / 0.5291 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4181, allocations: 4.031 kB / 0.5291 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.4203, allocations: 1.354 MB / 0.5305 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4203, allocations: 0 / 0.5305 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.4206, allocations: 71.14 kB / 0.5305 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005456/0.4211, allocations: 215.8 kB / 0.5307 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.4212, allocations: 18.66 kB / 0.5307 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.4254, allocations: 6.15 MB / 0.5367 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4254, allocations: 1.125 kB / 0.5368 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.427, allocations: 1.192 MB / 0.5379 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4271, allocations: 47.78 kB / 0.538 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.4272, allocations: 16.73 kB / 0.538 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.4277, allocations: 13.23 kB / 0.538 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.4278, allocations: 72.2 kB / 0.5381 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.4278, allocations: 19.33 kB / 0.5381 GB, free: 1.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.4281, allocations: 189.3 kB / 0.5383 GB, free: 1.309 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4281, allocations: 1.031 kB / 0.5383 GB, free: 1.309 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00127/0.4293, allocations: 282.7 kB / 0.5385 GB, free: 1.23 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.0002292/0.4296, allocations: 142 kB / 0.5387 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.431, allocations: 1.047 MB / 0.5397 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.431, allocations: 448 / 0.5397 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008403/0.4319, allocations: 0.7643 MB / 0.5404 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.4325, allocations: 40.77 kB / 0.5405 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4347, allocations: 1.243 MB / 0.5417 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.4352, allocations: 315.1 kB / 0.542 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.4354, allocations: 63.62 kB / 0.542 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.4355, allocations: 35.3 kB / 0.5421 GB, free: 14.92 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4355, allocations: 3.938 kB / 0.5421 GB, free: 14.92 MB / 462.1 MB Notification: Performance of Templates: time 0.01488/0.4504, allocations: 6.754 MB / 0.5487 GB, free: 13.4 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/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.397745380061679]