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.001439/0.001439, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00156/0.00156, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.57/1.57, allocations: 177 MB / 204.4 MB, free: 5.598 MB / 186.7 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.3409/0.3409, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 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 1.973e-06/1.973e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.122e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007451/0.007482, allocations: 4.765 MB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.01127, allocations: 1.572 MB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.01179, allocations: 24 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004125/0.01591, allocations: 1.559 MB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.01749, allocations: 329.3 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.01887, allocations: 0.4945 MB / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.02011, allocations: 0.8316 MB / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.02119, allocations: 0.6311 MB / 387.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008232/0.02202, allocations: 0.5028 MB / 387.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.02258, allocations: 343 kB / 388.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.02271, allocations: 76 kB / 388.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005592/0.02327, allocations: 195.7 kB / 388.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.02344, allocations: 179.3 kB / 388.7 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.0238, allocations: 283.3 kB / 389 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.02536, allocations: 1.187 MB / 390.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.02537, allocations: 8 kB / 390.2 MB, free: 5.867 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02537, allocations: 0 / 390.2 MB, free: 5.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.02538, allocations: 0 / 390.2 MB, free: 5.867 MB / 362.7 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.003477/0.02886, allocations: 1.285 MB / 391.4 MB, free: 4.547 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.0289, allocations: 16.03 kB / 391.5 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.03071, allocations: 391.8 kB / 391.8 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.03099, allocations: 201.2 kB / 392 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.684e-05/0.03108, allocations: 78.31 kB / 392.1 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.03125, allocations: 100.3 kB / 392.2 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.03315, allocations: 0.9365 MB / 393.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.03319, allocations: 7.938 kB / 393.2 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.03328, allocations: 40 kB / 393.2 MB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.03331, allocations: 24 kB / 393.2 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.03465, allocations: 0.7222 MB / 393.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/0.03982, allocations: 2.761 MB / 396.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.04159, allocations: 0.7842 MB / 397.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.04203, allocations: 259.4 kB / 397.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.656e-05/0.04213, allocations: 32.91 kB / 397.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.04217, allocations: 42.83 kB / 397.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.455e-06/0.04218, allocations: 0 / 397.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002815/0.04499, allocations: 1.041 MB / 398.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.04509, allocations: 136.5 kB / 399 MB, free: 12.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.0455, allocations: 305.5 kB / 399.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.04554, allocations: 37.7 kB / 399.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.04603, allocations: 415.9 kB / 399.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.04627, allocations: 237.9 kB / 400 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.04651, allocations: 146.6 kB / 400.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.04674, allocations: 354.8 kB / 400.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.04712, allocations: 201.9 kB / 400.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.04769, allocations: 396.7 kB / 401 MB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.04871, allocations: 0.6273 MB / 401.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.04871, allocations: 0 / 401.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001733/0.05045, allocations: 0.9103 MB / 402.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.05047, allocations: 8 kB / 402.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.05049, allocations: 11.94 kB / 402.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.05184, allocations: 279.3 kB / 402.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.05232, allocations: 139.8 kB / 403 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007157/0.05948, allocations: 6.187 MB / 409.2 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.06006, allocations: 91.34 kB / 409.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.06012, allocations: 28 kB / 409.3 MB, free: 1.785 MB / 378.7 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.0003729/0.06049, allocations: 229.7 kB / 409.5 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.06067, allocations: 63.77 kB / 409.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.06211, allocations: 0.6895 MB / 410.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.06212, allocations: 11.94 kB / 410.3 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.06213, allocations: 8 kB / 410.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.06214, allocations: 3.984 kB / 410.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.0648, allocations: 1.34 MB / 411.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.0648, allocations: 0 / 411.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.06508, allocations: 71.91 kB / 411.7 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.06632, allocations: 267.2 kB / 412 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.06636, allocations: 12 kB / 412 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007141/0.0735, allocations: 6.186 MB / 418.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.07351, allocations: 0 / 418.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.07543, allocations: 1.206 MB / 419.4 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.07556, allocations: 51.61 kB / 419.4 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.07561, allocations: 12 kB / 419.4 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.07594, allocations: 12 kB / 419.5 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.07606, allocations: 63.77 kB / 419.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.0761, allocations: 20 kB / 419.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.07636, allocations: 193.1 kB / 419.7 MB, free: 6.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07636, allocations: 0 / 419.7 MB, free: 6.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00115/0.07751, allocations: 283.3 kB / 420 MB, free: 6.555 MB / 394.7 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.0003153/0.07782, allocations: 143.2 kB / 420.1 MB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.0798, allocations: 1.053 MB / 421.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.0798, allocations: 0 / 421.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.08088, allocations: 0.7556 MB / 421.9 MB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.08159, allocations: 48.42 kB / 422 MB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.08385, allocations: 1.203 MB / 423.2 MB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.08425, allocations: 318.5 kB / 423.5 MB, free: 2.859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.0845, allocations: 60.44 kB / 423.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.0846, allocations: 44.48 kB / 423.6 MB, free: 2.758 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.0846, allocations: 0 / 423.6 MB, free: 2.758 MB / 394.7 MB Notification: Performance of Templates: time 0.01596/0.1006, allocations: 6.819 MB / 430.4 MB, free: 12.01 MB / 410.7 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.1.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.440003072028048]