Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008301/0.0008301, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009253/0.0009253, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9551/0.9551, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3141/0.3141, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.588e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004762/0.004798, allocations: 5.27 MB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.007113, allocations: 1.623 MB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.007418, allocations: 20 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.009212, allocations: 1.692 MB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.009747, allocations: 325.4 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.01044, allocations: 0.5062 MB / 387.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000603/0.01105, allocations: 0.8393 MB / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.01173, allocations: 0.6312 MB / 388.9 MB, free: 7.699 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.01212, allocations: 0.5067 MB / 389.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.01243, allocations: 359 kB / 389.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.685e-05/0.0125, allocations: 72 kB / 389.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.01277, allocations: 187.8 kB / 390 MB, free: 6.586 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.01298, allocations: 187.3 kB / 390.2 MB, free: 6.402 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.01315, allocations: 291.3 kB / 390.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.01375, allocations: 0.7628 MB / 391.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.01375, allocations: 0 / 391.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01376, allocations: 0 / 391.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.01376, allocations: 0 / 391.3 MB, free: 5.352 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.001779/0.01554, allocations: 1.42 MB / 392.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.01558, allocations: 8.031 kB / 392.7 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000939/0.01652, allocations: 395.8 kB / 393.1 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.01666, allocations: 200.1 kB / 393.3 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.01671, allocations: 74.38 kB / 393.4 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.0168, allocations: 108.3 kB / 393.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.01773, allocations: 0.753 MB / 394.2 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.01775, allocations: 7.938 kB / 394.2 MB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.0178, allocations: 44 kB / 394.3 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.01782, allocations: 28 kB / 394.3 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.01839, allocations: 418.6 kB / 394.7 MB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.02096, allocations: 2.878 MB / 397.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.02185, allocations: 0.793 MB / 398.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.02206, allocations: 204.8 kB / 398.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/0.02212, allocations: 36.3 kB / 398.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.02215, allocations: 53.52 kB / 398.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.385e-06/0.02215, allocations: 0 / 398.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001342/0.02349, allocations: 0.8636 MB / 399.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.02354, allocations: 140.5 kB / 399.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.02376, allocations: 344 kB / 400 MB, free: 12.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.02378, allocations: 41.7 kB / 400 MB, free: 12.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.02395, allocations: 462.5 kB / 400.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.02406, allocations: 238 kB / 400.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.02434, allocations: 160.2 kB / 400.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.02446, allocations: 0.5235 MB / 401.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.02462, allocations: 125.9 kB / 401.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.0249, allocations: 402.1 kB / 401.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.02537, allocations: 0.5624 MB / 402.5 MB, free: 9.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.02537, allocations: 0 / 402.5 MB, free: 9.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008003/0.02617, allocations: 0.7456 MB / 403.2 MB, free: 8.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.02619, allocations: 8 kB / 403.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.02619, allocations: 8 kB / 403.2 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.0268, allocations: 258.7 kB / 403.5 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.02705, allocations: 147.7 kB / 403.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.03061, allocations: 7.764 MB / 411.4 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.03083, allocations: 79.47 kB / 411.5 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.03087, allocations: 40.08 kB / 411.5 MB, free: 15.96 MB / 394.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.000161/0.03103, allocations: 212.2 kB / 411.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.03112, allocations: 59.77 kB / 411.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.03183, allocations: 0.5641 MB / 412.3 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.03184, allocations: 7.938 kB / 412.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.03184, allocations: 8 kB / 412.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.03185, allocations: 3.984 kB / 412.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.03325, allocations: 1.331 MB / 413.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.03326, allocations: 3.984 kB / 413.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.0334, allocations: 71.91 kB / 413.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005371/0.03393, allocations: 254.5 kB / 414 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.03396, allocations: 15.98 kB / 414 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.03768, allocations: 7.757 MB / 421.8 MB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.03768, allocations: 7.984 kB / 421.8 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.03881, allocations: 1.147 MB / 422.9 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.03886, allocations: 55.56 kB / 423 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.03889, allocations: 12 kB / 423 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.03904, allocations: 12 kB / 423 MB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.03911, allocations: 63.81 kB / 423.1 MB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.03913, allocations: 16 kB / 423.1 MB, free: 3.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.03925, allocations: 217.1 kB / 423.3 MB, free: 3.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03925, allocations: 4 kB / 423.3 MB, free: 3.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006544/0.03991, allocations: 283.3 kB / 423.6 MB, free: 3.246 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.0001919/0.0401, allocations: 143.1 kB / 423.7 MB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000867/0.04097, allocations: 1.18 MB / 424.9 MB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.04097, allocations: 4 kB / 424.9 MB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.04146, allocations: 0.9494 MB / 425.9 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.04185, allocations: 59.56 kB / 425.9 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.04327, allocations: 1.142 MB / 427.1 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.04337, allocations: 159.3 kB / 427.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.04351, allocations: 68.42 kB / 427.3 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.04356, allocations: 32.5 kB / 427.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04356, allocations: 0 / 427.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of Templates: time 0.009639/0.0532, allocations: 7.292 MB / 434.6 MB, free: 8.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.53861494269222]