Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 169 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.996/0.996, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1311/0.1311, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.859e-05, allocations: 2.312 kB / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.003691/0.00371, allocations: 5.193 MB / 352.9 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.005346, allocations: 1.589 MB / 354.4 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.005537, allocations: 16 kB / 354.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.007021, allocations: 1.68 MB / 356.1 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.007389, allocations: 317.4 kB / 356.4 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.007955, allocations: 0.4984 MB / 356.9 MB, free: 464 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.008454, allocations: 0.8354 MB / 357.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000678/0.009132, allocations: 0.6429 MB / 358.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.009504, allocations: 0.4989 MB / 358.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.009845, allocations: 359 kB / 359.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/0.00992, allocations: 72 kB / 359.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.01016, allocations: 183.8 kB / 359.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.01026, allocations: 183.3 kB / 359.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.01044, allocations: 283.3 kB / 360 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006444/0.01109, allocations: 0.7433 MB / 360.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01109, allocations: 0 / 360.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01109, allocations: 0 / 360.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.0111, allocations: 4 kB / 360.7 MB, free: 12.65 MB / 298.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.001978/0.01308, allocations: 1.416 MB / 362.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.01311, allocations: 12.02 kB / 362.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/0.01409, allocations: 391.8 kB / 362.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.01425, allocations: 212 kB / 362.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.01429, allocations: 74.38 kB / 362.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.01439, allocations: 100.3 kB / 362.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.01523, allocations: 0.7491 MB / 363.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.01526, allocations: 7.938 kB / 363.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.01531, allocations: 44 kB / 363.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.01533, allocations: 24 kB / 363.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.01608, allocations: 411.6 kB / 364.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.01876, allocations: 2.858 MB / 367 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.01969, allocations: 0.7867 MB / 367.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.01991, allocations: 207 kB / 368 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.704e-05/0.01996, allocations: 28.19 kB / 368 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.01999, allocations: 45.66 kB / 368.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.01999, allocations: 0 / 368.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001351/0.02134, allocations: 0.8727 MB / 368.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.0214, allocations: 132.5 kB / 369.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.02163, allocations: 348 kB / 369.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.02165, allocations: 33.7 kB / 369.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.02184, allocations: 454.6 kB / 369.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.02196, allocations: 253.9 kB / 370.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.02209, allocations: 156.2 kB / 370.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.02222, allocations: 0.5235 MB / 370.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.02239, allocations: 121.9 kB / 370.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.02268, allocations: 398.2 kB / 371.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.02318, allocations: 0.5549 MB / 371.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02318, allocations: 4 kB / 371.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008038/0.02399, allocations: 0.7453 MB / 372.6 MB, free: 124 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.024, allocations: 8.5 kB / 372.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.02401, allocations: 8 kB / 372.6 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/0.02465, allocations: 262.4 kB / 372.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.02491, allocations: 143.7 kB / 373 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/0.02837, allocations: 7.775 MB / 380.8 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.02858, allocations: 83.41 kB / 380.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.02861, allocations: 35.98 kB / 380.9 MB, free: 7.305 MB / 314.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.0001576/0.02877, allocations: 208.4 kB / 381.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.02885, allocations: 63.77 kB / 381.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.02949, allocations: 0.5548 MB / 381.7 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.0295, allocations: 15.92 kB / 381.8 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.0295, allocations: 4 kB / 381.8 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.02951, allocations: 7.984 kB / 381.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.03083, allocations: 1.326 MB / 383.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.03083, allocations: 0 / 383.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.03097, allocations: 71.91 kB / 383.2 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.03149, allocations: 250.5 kB / 383.4 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.03152, allocations: 16 kB / 383.4 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/0.03482, allocations: 7.752 MB / 391.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.03482, allocations: 128 / 391.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.03576, allocations: 1.15 MB / 392.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.0358, allocations: 51.62 kB / 392.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.03584, allocations: 12 kB / 392.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.036, allocations: 16 kB / 392.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.03607, allocations: 55.86 kB / 392.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.03609, allocations: 20 kB / 392.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.03621, allocations: 221 kB / 392.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03621, allocations: 0 / 392.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006416/0.03685, allocations: 283.3 kB / 393 MB, free: 10.61 MB / 330.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.0002133/0.03707, allocations: 137.9 kB / 393.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000935/0.038, allocations: 1.175 MB / 394.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.038, allocations: 0 / 394.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.03852, allocations: 0.9572 MB / 395.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.03892, allocations: 48.47 kB / 395.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.04044, allocations: 1.161 MB / 396.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.04055, allocations: 155.5 kB / 396.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.0407, allocations: 56.44 kB / 396.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.04075, allocations: 40.48 kB / 396.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04075, allocations: 0 / 396.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of Templates: time 0.009842/0.0506, allocations: 6.74 MB / 403.4 MB, free: 15.98 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.374826773069799]