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.00179/0.00179, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002045/0.002045, allocations: 214.1 kB / 24.48 MB, free: 3.844 MB / 14.72 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.614/1.614, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2286/0.2286, allocations: 46.96 MB / 361.6 MB, free: 4.027 MB / 286.1 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 0.0021/0.0021, allocations: 71.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007385/0.3172, allocations: 4.755 MB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.3207, allocations: 1.573 MB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.3211, allocations: 16 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.3249, allocations: 1.482 MB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3261, allocations: 317.6 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3273, allocations: 0.4945 MB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.3283, allocations: 0.8007 MB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009826/0.3293, allocations: 0.627 MB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.3298, allocations: 350.7 kB / 0.572 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.3303, allocations: 410.2 kB / 0.5724 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3304, allocations: 72 kB / 0.5724 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.3309, allocations: 187.9 kB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.331, allocations: 175.3 kB / 0.5728 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.3314, allocations: 342.4 kB / 0.5731 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.3329, allocations: 1.189 MB / 0.5743 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3329, allocations: 0 / 0.5743 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3329, allocations: 4 kB / 0.5743 GB, free: 7.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.3329, allocations: 0 / 0.5743 GB, free: 7.352 MB / 414.1 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.003443/0.3364, allocations: 1.3 MB / 0.5755 GB, free: 6.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3364, allocations: 8.031 kB / 0.5755 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.338, allocations: 240.1 kB / 0.5758 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.3382, allocations: 201.2 kB / 0.576 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.3383, allocations: 74.38 kB / 0.576 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.3385, allocations: 100.1 kB / 0.5761 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.3401, allocations: 0.936 MB / 0.5771 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.3401, allocations: 7.953 kB / 0.5771 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.3402, allocations: 43.98 kB / 0.5771 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.3402, allocations: 24 kB / 0.5771 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.3415, allocations: 0.7222 MB / 0.5778 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004788/0.3463, allocations: 2.72 MB / 0.5805 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3479, allocations: 0.7604 MB / 0.5812 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.3484, allocations: 275.2 kB / 0.5815 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.3485, allocations: 24.31 kB / 0.5815 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3485, allocations: 46.88 kB / 0.5816 GB, free: 15.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.986e-06/0.3485, allocations: 0 / 0.5816 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.00264/0.3511, allocations: 1.011 MB / 0.5825 GB, free: 14.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.3512, allocations: 136.5 kB / 0.5827 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.3516, allocations: 301.5 kB / 0.583 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.3517, allocations: 37.7 kB / 0.583 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.3519, allocations: 411.8 kB / 0.5834 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.3521, allocations: 241.9 kB / 0.5836 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.3524, allocations: 154.5 kB / 0.5838 GB, free: 13.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3525, allocations: 346.8 kB / 0.5841 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.3529, allocations: 201.9 kB / 0.5843 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.3534, allocations: 396.7 kB / 0.5847 GB, free: 12.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.3543, allocations: 0.6297 MB / 0.5853 GB, free: 11.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3544, allocations: 0 / 0.5853 GB, free: 11.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001596/0.3559, allocations: 0.8854 MB / 0.5862 GB, free: 10.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.356, allocations: 8 kB / 0.5862 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.356, allocations: 4 kB / 0.5862 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.3566, allocations: 223.4 kB / 0.5864 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.3571, allocations: 139.8 kB / 0.5865 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.3632, allocations: 6.162 MB / 0.5925 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.3638, allocations: 75.41 kB / 0.5926 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.3638, allocations: 39.98 kB / 0.5926 GB, free: 3.617 MB / 430.1 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.0003548/0.3642, allocations: 221.6 kB / 0.5928 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3643, allocations: 47.72 kB / 0.5929 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.3657, allocations: 0.6795 MB / 0.5936 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3657, allocations: 8 kB / 0.5936 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3657, allocations: 4 kB / 0.5936 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3657, allocations: 4 kB / 0.5936 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.3681, allocations: 1.358 MB / 0.5949 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3681, allocations: 0 / 0.5949 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.3684, allocations: 67.91 kB / 0.595 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/0.3689, allocations: 219.2 kB / 0.5952 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.369, allocations: 15.94 kB / 0.5952 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00617/0.3751, allocations: 6.151 MB / 0.6012 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.3751, allocations: 0 / 0.6012 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.377, allocations: 1.195 MB / 0.6024 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3771, allocations: 51.61 kB / 0.6024 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.3772, allocations: 12 kB / 0.6024 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3775, allocations: 15.98 kB / 0.6024 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3776, allocations: 67.62 kB / 0.6025 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.3777, allocations: 20.06 kB / 0.6025 GB, free: 8.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.3779, allocations: 193.3 kB / 0.6027 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3779, allocations: 4 kB / 0.6027 GB, free: 8.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001038/0.379, allocations: 283.4 kB / 0.603 GB, free: 8.496 MB / 446.1 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.0002587/0.3792, allocations: 147.1 kB / 0.6031 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.3809, allocations: 1.045 MB / 0.6041 GB, free: 7.246 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3809, allocations: 0 / 0.6041 GB, free: 7.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009744/0.3819, allocations: 0.7565 MB / 0.6049 GB, free: 6.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.3825, allocations: 40.48 kB / 0.6049 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3848, allocations: 1.274 MB / 0.6062 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3852, allocations: 318.4 kB / 0.6065 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3853, allocations: 47.42 kB / 0.6065 GB, free: 4.699 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3853, allocations: 0 / 0.6065 GB, free: 4.699 MB / 446.1 MB Notification: Performance of Templates: time 0.02404/0.4094, allocations: 19.92 MB / 0.626 GB, free: 0.75 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.243673935998231]