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.001044/0.001044, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001157/0.001157, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.9411/0.9411, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1274/0.1274, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 1.413e-06/1.413e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.522e-05, allocations: 4.281 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00384/0.003865, allocations: 5.219 MB / 352.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.006235, allocations: 1.589 MB / 354.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.006712, allocations: 16 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.00836, allocations: 1.692 MB / 356.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006321/0.008992, allocations: 321.4 kB / 356.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.009754, allocations: 0.4945 MB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000742/0.0105, allocations: 0.8432 MB / 357.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000689/0.01118, allocations: 0.6273 MB / 358.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.01165, allocations: 0.4989 MB / 359 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.01203, allocations: 363 kB / 359.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.01209, allocations: 72 kB / 359.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.01243, allocations: 183.8 kB / 359.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.01252, allocations: 183.3 kB / 359.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.0127, allocations: 287.3 kB / 360 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.01349, allocations: 0.7472 MB / 360.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01349, allocations: 0 / 360.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01349, allocations: 0 / 360.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.0135, allocations: 0 / 360.8 MB, free: 12.28 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.001886/0.01539, allocations: 1.42 MB / 362.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.01543, allocations: 8.031 kB / 362.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008556/0.01628, allocations: 391.8 kB / 362.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.01644, allocations: 204.1 kB / 362.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.01648, allocations: 70.38 kB / 362.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.01657, allocations: 108.3 kB / 363 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.01759, allocations: 0.753 MB / 363.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.01762, allocations: 7.922 kB / 363.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.01767, allocations: 47.98 kB / 363.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.01769, allocations: 24 kB / 363.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.01825, allocations: 411.6 kB / 364.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.02141, allocations: 2.858 MB / 367 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.02232, allocations: 0.7889 MB / 367.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.02253, allocations: 208.1 kB / 368 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.02258, allocations: 24.17 kB / 368.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.02261, allocations: 49.66 kB / 368.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.893e-06/0.02261, allocations: 0 / 368.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001383/0.024, allocations: 0.8727 MB / 369 MB, free: 3.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.02405, allocations: 140.5 kB / 369.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.02429, allocations: 344 kB / 369.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.02432, allocations: 37.7 kB / 369.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.0245, allocations: 450.6 kB / 369.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.02462, allocations: 249.9 kB / 370.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.02475, allocations: 156.2 kB / 370.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.02489, allocations: 0.5274 MB / 370.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.02505, allocations: 117.9 kB / 371 MB, free: 1.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.02534, allocations: 398.2 kB / 371.4 MB, free: 1.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.02582, allocations: 0.551 MB / 371.9 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.02583, allocations: 4 kB / 371.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0007882/0.02662, allocations: 0.7531 MB / 372.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.02663, allocations: 8 kB / 372.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.02664, allocations: 4 kB / 372.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.02728, allocations: 262.9 kB / 372.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.02752, allocations: 143.7 kB / 373.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.03135, allocations: 7.775 MB / 380.8 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.03185, allocations: 83.39 kB / 380.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.03188, allocations: 36 kB / 381 MB, free: 6.926 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.0002095/0.03209, allocations: 204.3 kB / 381.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.03218, allocations: 59.77 kB / 381.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.03283, allocations: 0.5665 MB / 381.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.03284, allocations: 11.94 kB / 381.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.03284, allocations: 4 kB / 381.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.03285, allocations: 7.984 kB / 381.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.03421, allocations: 1.33 MB / 383.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03421, allocations: 4 kB / 383.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.03435, allocations: 67.91 kB / 383.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/0.03488, allocations: 250.5 kB / 383.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.03491, allocations: 12 kB / 383.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.0386, allocations: 7.752 MB / 391.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.0386, allocations: 128 / 391.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.03956, allocations: 1.154 MB / 392.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.03964, allocations: 47.62 kB / 392.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.03967, allocations: 12 kB / 392.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.03982, allocations: 12 kB / 392.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.03992, allocations: 59.83 kB / 392.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.03994, allocations: 19.98 kB / 392.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.04007, allocations: 217.1 kB / 392.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04007, allocations: 32 / 392.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008499/0.04092, allocations: 283.3 kB / 393 MB, free: 10.24 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.0003162/0.04124, allocations: 139 kB / 393.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.04257, allocations: 1.175 MB / 394.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.04257, allocations: 0 / 394.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.04363, allocations: 0.9527 MB / 395.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.04408, allocations: 45.06 kB / 395.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.04594, allocations: 1.173 MB / 396.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.04609, allocations: 151.5 kB / 396.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.04625, allocations: 60.44 kB / 396.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.04631, allocations: 32.5 kB / 396.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of SimCode: time 1.402e-06/0.04631, allocations: 0 / 396.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of Templates: time 0.01072/0.05703, allocations: 7.129 MB / 403.9 MB, free: 15.22 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.3183568408712745]