Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001129/0.001129, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001884/0.001884, allocations: 165 kB / 24.56 MB, free: 24 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 1.15/1.15, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3175/0.3175, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.402e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004969/0.004993, allocations: 5.278 MB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.007821, allocations: 1.611 MB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.008179, allocations: 16 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.01011, allocations: 1.692 MB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.01079, allocations: 325.4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.01158, allocations: 0.5023 MB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000758/0.01234, allocations: 0.8354 MB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008332/0.01317, allocations: 0.6351 MB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.01376, allocations: 0.5028 MB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.01418, allocations: 359 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.01428, allocations: 76 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.01466, allocations: 203.7 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.01477, allocations: 183.3 kB / 388.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.01498, allocations: 283.3 kB / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007933/0.01577, allocations: 0.755 MB / 389.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01577, allocations: 0 / 389.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01577, allocations: 0 / 389.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.01578, allocations: 0 / 389.2 MB, free: 7.359 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.002117/0.0179, allocations: 1.428 MB / 390.7 MB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.01795, allocations: 15.98 kB / 390.7 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009998/0.01895, allocations: 387.8 kB / 391.1 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.01917, allocations: 212.1 kB / 391.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.01924, allocations: 78.38 kB / 391.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.01937, allocations: 100.3 kB / 391.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009837/0.02035, allocations: 0.7491 MB / 392.2 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.02039, allocations: 15.88 kB / 392.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.02044, allocations: 36 kB / 392.2 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.02046, allocations: 24 kB / 392.3 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.02108, allocations: 423.6 kB / 392.7 MB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.02417, allocations: 2.874 MB / 395.5 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009882/0.02516, allocations: 0.7883 MB / 396.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.02538, allocations: 208.7 kB / 396.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.02545, allocations: 32.3 kB / 396.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.02548, allocations: 49.58 kB / 396.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.394e-06/0.02549, allocations: 0 / 396.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001431/0.02692, allocations: 0.8718 MB / 397.5 MB, free: 14.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.02698, allocations: 140.5 kB / 397.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.02723, allocations: 347.8 kB / 398 MB, free: 14.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.02726, allocations: 41.64 kB / 398 MB, free: 14.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.02746, allocations: 462.5 kB / 398.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.02758, allocations: 242 kB / 398.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.02773, allocations: 160.2 kB / 398.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.02788, allocations: 0.5235 MB / 399.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.02805, allocations: 121.9 kB / 399.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.02836, allocations: 402.1 kB / 399.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.02888, allocations: 0.5547 MB / 400.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.02889, allocations: 0 / 400.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008733/0.02976, allocations: 0.7608 MB / 401.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.02979, allocations: 8 kB / 401.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.02979, allocations: 4.5 kB / 401.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/0.03046, allocations: 258.5 kB / 401.5 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.03072, allocations: 143.8 kB / 401.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.03458, allocations: 7.775 MB / 409.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.03482, allocations: 75.41 kB / 409.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.03486, allocations: 39.98 kB / 409.5 MB, free: 1.953 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.0001649/0.03502, allocations: 204.4 kB / 409.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.03511, allocations: 63.77 kB / 409.8 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/0.03581, allocations: 0.5536 MB / 410.3 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.03581, allocations: 15.88 kB / 410.3 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.03582, allocations: 7.984 kB / 410.3 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.03583, allocations: 0 / 410.3 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.03719, allocations: 1.337 MB / 411.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.03719, allocations: 4 kB / 411.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.03733, allocations: 67.91 kB / 411.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005521/0.03788, allocations: 262.4 kB / 412 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.03791, allocations: 16 kB / 412 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.04159, allocations: 7.756 MB / 419.8 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.04159, allocations: 0 / 419.8 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/0.04256, allocations: 1.151 MB / 420.9 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.0426, allocations: 43.64 kB / 421 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.04263, allocations: 20.11 kB / 421 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.04279, allocations: 16 kB / 421 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.04288, allocations: 63.77 kB / 421.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.0429, allocations: 20 kB / 421.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.04304, allocations: 221 kB / 421.3 MB, free: 5.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04304, allocations: 0 / 421.3 MB, free: 5.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006523/0.04369, allocations: 283.3 kB / 421.6 MB, free: 5.234 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.0002369/0.04393, allocations: 142.7 kB / 421.7 MB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009939/0.04492, allocations: 1.183 MB / 422.9 MB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.04492, allocations: 1.125 kB / 422.9 MB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.04551, allocations: 0.949 MB / 423.8 MB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.04592, allocations: 48.62 kB / 423.9 MB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.04757, allocations: 1.145 MB / 425 MB, free: 1.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.04771, allocations: 155.4 kB / 425.2 MB, free: 1.387 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.04784, allocations: 60.44 kB / 425.3 MB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.0479, allocations: 40.48 kB / 425.3 MB, free: 1.289 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0479, allocations: 0 / 425.3 MB, free: 1.289 MB / 394.7 MB Notification: Performance of Templates: time 0.01193/0.05984, allocations: 7.296 MB / 432.6 MB, free: 10.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.144219164736569]