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.0008893/0.0008893, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005272/0.005272, allocations: 158.9 kB / 24.7 MB, free: 9.441 MB / 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 0.9169/0.9169, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2341/0.2341, allocations: 34.24 MB / 295.6 MB, free: 0.6758 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.273e-06/1.273e-06, allocations: 0 / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.929e-05, allocations: 8.891 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.2229/0.2229, allocations: 4.767 MB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.2252, allocations: 1.576 MB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2255, allocations: 19.62 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.227, allocations: 1.56 MB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.2276, allocations: 324.6 kB / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.2283, allocations: 0.4976 MB / 452.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005527/0.2288, allocations: 0.83 MB / 453 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.2295, allocations: 0.6262 MB / 453.6 MB, free: 38.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.2299, allocations: 0.5088 MB / 454.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.2302, allocations: 341.6 kB / 454.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.2303, allocations: 79.53 kB / 454.5 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.2306, allocations: 192.2 kB / 454.7 MB, free: 38.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.2307, allocations: 183.5 kB / 454.9 MB, free: 38.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2308, allocations: 287.2 kB / 455.2 MB, free: 38.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.2316, allocations: 1.185 MB / 456.4 MB, free: 37.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2316, allocations: 0 / 456.4 MB, free: 37.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2316, allocations: 3.688 kB / 456.4 MB, free: 37.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2317, allocations: 0 / 456.4 MB, free: 37.68 MB / 410.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.00179/0.2334, allocations: 1.292 MB / 457.7 MB, free: 36.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2335, allocations: 8.562 kB / 457.7 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.2343, allocations: 233.6 kB / 457.9 MB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.2344, allocations: 198.9 kB / 458.1 MB, free: 36.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.2344, allocations: 76.78 kB / 458.2 MB, free: 36.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.386e-05/0.2345, allocations: 100.1 kB / 458.3 MB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.2354, allocations: 0.9433 MB / 459.2 MB, free: 36.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.2355, allocations: 5.344 kB / 459.2 MB, free: 36.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.2355, allocations: 41.47 kB / 459.2 MB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2355, allocations: 22.56 kB / 459.3 MB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.2363, allocations: 0.7263 MB / 460 MB, free: 35.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.2388, allocations: 2.715 MB / 462.7 MB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/0.2397, allocations: 0.7613 MB / 463.5 MB, free: 33.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.24, allocations: 257.6 kB / 463.7 MB, free: 33.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.24, allocations: 23.16 kB / 463.7 MB, free: 33.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.24, allocations: 45.23 kB / 463.8 MB, free: 33.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 1.753e-06/0.24, allocations: 3.938 kB / 463.8 MB, free: 33.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001382/0.2414, allocations: 1.025 MB / 464.8 MB, free: 33.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2415, allocations: 140.8 kB / 465 MB, free: 33.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.2417, allocations: 297.8 kB / 465.2 MB, free: 32.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2417, allocations: 40.95 kB / 465.3 MB, free: 32.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2418, allocations: 407 kB / 465.7 MB, free: 32.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.2419, allocations: 241.8 kB / 465.9 MB, free: 32.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.242, allocations: 147.2 kB / 466.1 MB, free: 32.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.242, allocations: 346.2 kB / 466.4 MB, free: 31.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2422, allocations: 196.8 kB / 466.6 MB, free: 31.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.2425, allocations: 404 kB / 467 MB, free: 31.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.243, allocations: 0.6294 MB / 467.6 MB, free: 31.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.243, allocations: 7.156 kB / 467.6 MB, free: 31.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008089/0.2438, allocations: 0.8764 MB / 468.5 MB, free: 30.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2438, allocations: 9.594 kB / 468.5 MB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2438, allocations: 3.656 kB / 468.5 MB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.2442, allocations: 231.3 kB / 468.7 MB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.2445, allocations: 142.6 kB / 468.9 MB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.247, allocations: 6.16 MB / 475 MB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2472, allocations: 82.56 kB / 475.1 MB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.2472, allocations: 37.33 kB / 475.2 MB, free: 24.9 MB / 410.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.0001724/0.2474, allocations: 217.5 kB / 475.4 MB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.2475, allocations: 45.91 kB / 475.4 MB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.2482, allocations: 0.683 MB / 476.1 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2482, allocations: 14.31 kB / 476.1 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2482, allocations: 6.375 kB / 476.1 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2482, allocations: 3.375 kB / 476.1 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.2494, allocations: 1.339 MB / 477.5 MB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2494, allocations: 384 / 477.5 MB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.2496, allocations: 64.62 kB / 477.5 MB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/0.2499, allocations: 218.9 kB / 477.7 MB, free: 23.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.2499, allocations: 13.84 kB / 477.8 MB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.2522, allocations: 6.159 MB / 483.9 MB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2522, allocations: 0 / 483.9 MB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.2531, allocations: 1.189 MB / 485.1 MB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.2531, allocations: 46.89 kB / 485.1 MB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.2531, allocations: 21.94 kB / 485.2 MB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2533, allocations: 14.36 kB / 485.2 MB, free: 17.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.2534, allocations: 60.19 kB / 485.2 MB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.2534, allocations: 19.11 kB / 485.3 MB, free: 17.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.2535, allocations: 200.1 kB / 485.5 MB, free: 16.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.2535, allocations: 0 / 485.5 MB, free: 16.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007024/0.2542, allocations: 282.8 kB / 485.7 MB, free: 16.87 MB / 410.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.0002179/0.2544, allocations: 142.1 kB / 485.9 MB, free: 16.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008161/0.2552, allocations: 1.041 MB / 486.9 MB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2552, allocations: 3.469 kB / 486.9 MB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.2556, allocations: 0.7612 MB / 487.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.2561, allocations: 42.19 kB / 487.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2573, allocations: 1.222 MB / 488.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.2575, allocations: 314.3 kB / 489.2 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.2576, allocations: 46.41 kB / 489.3 MB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2576, allocations: 0 / 489.3 MB, free: 14.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01719/0.2747, allocations: 19.92 MB / 0.4973 GB, free: 9.785 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.426364199258387]