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.001141/0.001141, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.001322/0.001322, allocations: 160.5 kB / 24.99 MB, free: 9.277 MB / 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2636/0.2636, allocations: 32.81 MB / 294.6 MB, free: 1.203 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.693e-06/1.693e-06, allocations: 0 / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.997e-05, allocations: 5.688 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005433/0.005463, allocations: 5.243 MB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.007992, allocations: 1.607 MB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.008343, allocations: 19.94 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.01021, allocations: 1.684 MB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008636/0.01107, allocations: 329.4 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.01189, allocations: 0.5023 MB / 385.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.01261, allocations: 0.8393 MB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007784/0.01339, allocations: 0.6351 MB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005659/0.01395, allocations: 0.5067 MB / 387.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.01435, allocations: 355.1 kB / 387.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/0.01443, allocations: 72 kB / 387.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.01482, allocations: 199.7 kB / 388 MB, free: 8.914 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.01491, allocations: 175.3 kB / 388.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.01512, allocations: 291.3 kB / 388.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007535/0.01588, allocations: 0.7589 MB / 389.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.01588, allocations: 4 kB / 389.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01588, allocations: 0 / 389.2 MB, free: 7.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.01589, allocations: 0 / 389.2 MB, free: 7.691 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.002147/0.01804, allocations: 1.424 MB / 390.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.01808, allocations: 11.98 kB / 390.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.01923, allocations: 387.8 kB / 391 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.01942, allocations: 208.1 kB / 391.2 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.01947, allocations: 78.38 kB / 391.3 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.01958, allocations: 104.3 kB / 391.4 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/0.02048, allocations: 0.7569 MB / 392.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.02051, allocations: 7.875 kB / 392.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.02056, allocations: 40 kB / 392.2 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.02058, allocations: 24 kB / 392.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.02119, allocations: 419.6 kB / 392.6 MB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.02412, allocations: 2.878 MB / 395.5 MB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.02513, allocations: 0.7839 MB / 396.3 MB, free: 336 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.02538, allocations: 211.5 kB / 396.5 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.02545, allocations: 32.3 kB / 396.5 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.02548, allocations: 53.58 kB / 396.6 MB, free: 16 kB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.146e-06/0.02548, allocations: 0 / 396.6 MB, free: 16 kB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001502/0.02698, allocations: 0.8679 MB / 397.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.02704, allocations: 140.5 kB / 397.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.02729, allocations: 348 kB / 397.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.02732, allocations: 33.7 kB / 398 MB, free: 14.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.02752, allocations: 458.5 kB / 398.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.02766, allocations: 246 kB / 398.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.0278, allocations: 160.2 kB / 398.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003456/0.02815, allocations: 0.5235 MB / 399.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.02833, allocations: 113.9 kB / 399.4 MB, free: 13.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.02862, allocations: 410.2 kB / 399.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.02913, allocations: 0.5546 MB / 400.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.02913, allocations: 4 kB / 400.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008476/0.02998, allocations: 0.753 MB / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.03, allocations: 8 kB / 401.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.03001, allocations: 8.5 kB / 401.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.03071, allocations: 262.5 kB / 401.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.03099, allocations: 139.8 kB / 401.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.03503, allocations: 7.783 MB / 409.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.03532, allocations: 79.41 kB / 409.4 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.03535, allocations: 35.98 kB / 409.4 MB, free: 2.289 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.0004902/0.03584, allocations: 200.4 kB / 409.6 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.03594, allocations: 63.8 kB / 409.7 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.03662, allocations: 0.5497 MB / 410.3 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.03663, allocations: 11.94 kB / 410.3 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.03663, allocations: 4 kB / 410.3 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.03664, allocations: 11.92 kB / 410.3 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.03803, allocations: 1.337 MB / 411.6 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03803, allocations: 0 / 411.6 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.03818, allocations: 67.91 kB / 411.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005665/0.03875, allocations: 262.4 kB / 411.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.03877, allocations: 15.94 kB / 412 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.04242, allocations: 7.764 MB / 419.7 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.04242, allocations: 0 / 419.7 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.04335, allocations: 1.151 MB / 420.9 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.04341, allocations: 39.64 kB / 420.9 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.04344, allocations: 20.05 kB / 420.9 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.0436, allocations: 16 kB / 420.9 MB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.848e-05/0.04369, allocations: 63.77 kB / 421 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.04371, allocations: 16 kB / 421 MB, free: 6.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.04384, allocations: 221 kB / 421.2 MB, free: 5.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04384, allocations: 0 / 421.2 MB, free: 5.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007414/0.04458, allocations: 283.3 kB / 421.5 MB, free: 5.578 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.0002104/0.04479, allocations: 139.1 kB / 421.7 MB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009563/0.04575, allocations: 1.179 MB / 422.8 MB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.04575, allocations: 1.125 kB / 422.8 MB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000533/0.04628, allocations: 0.9606 MB / 423.8 MB, free: 3.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.04701, allocations: 48.62 kB / 423.8 MB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.04862, allocations: 1.143 MB / 425 MB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.04876, allocations: 151.5 kB / 425.1 MB, free: 1.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.04891, allocations: 60.44 kB / 425.2 MB, free: 1.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.04897, allocations: 40.48 kB / 425.2 MB, free: 1.629 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.04898, allocations: 0 / 425.2 MB, free: 1.629 MB / 394.7 MB Notification: Performance of Templates: time 0.01049/0.05947, allocations: 6.902 MB / 432.1 MB, free: 10.8 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: 3.593722630990669]