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.001875/0.001875, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002366/0.002366, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.2218/0.2218, allocations: 44.91 MB / 359.6 MB, free: 6.363 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 67.88 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3609, allocations: 65.46 MB / 0.5582 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007591/0.3685, allocations: 5.377 MB / 0.5635 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.3721, allocations: 1.674 MB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.3726, allocations: 20 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003798/0.3764, allocations: 1.599 MB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.3776, allocations: 313.6 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3789, allocations: 0.5257 MB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3801, allocations: 0.8046 MB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.3812, allocations: 0.6387 MB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.3818, allocations: 354.7 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.3824, allocations: 458.2 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3825, allocations: 76 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.383, allocations: 207.9 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.3832, allocations: 175.3 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.3836, allocations: 425.9 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.3851, allocations: 1.173 MB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3851, allocations: 0 / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3851, allocations: 0 / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3851, allocations: 0 / 0.5717 GB, free: 9.871 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.003395/0.3885, allocations: 1.304 MB / 0.573 GB, free: 8.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3885, allocations: 11.98 kB / 0.573 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.3901, allocations: 232.2 kB / 0.5732 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.3904, allocations: 203.7 kB / 0.5734 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.3905, allocations: 74.38 kB / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.3906, allocations: 100.1 kB / 0.5736 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.3923, allocations: 0.9399 MB / 0.5745 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.3923, allocations: 7.953 kB / 0.5745 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.3924, allocations: 40 kB / 0.5745 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3924, allocations: 24 kB / 0.5746 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.3937, allocations: 0.7262 MB / 0.5753 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005263/0.3989, allocations: 3.688 MB / 0.5789 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.4005, allocations: 0.7736 MB / 0.5796 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.4009, allocations: 260.5 kB / 0.5799 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.401, allocations: 36.22 kB / 0.5799 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.401, allocations: 38.89 kB / 0.5799 GB, free: 1.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.176e-06/0.401, allocations: 0 / 0.5799 GB, free: 1.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002661/0.4037, allocations: 1.017 MB / 0.5809 GB, free: 15.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.4038, allocations: 144.5 kB / 0.5811 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.4042, allocations: 312.1 kB / 0.5814 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.4042, allocations: 37.7 kB / 0.5814 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.4045, allocations: 411.8 kB / 0.5818 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.4047, allocations: 238 kB / 0.582 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.4049, allocations: 150.6 kB / 0.5822 GB, free: 14.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4051, allocations: 354.8 kB / 0.5825 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.4054, allocations: 197.9 kB / 0.5827 GB, free: 14.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.406, allocations: 400.6 kB / 0.5831 GB, free: 13.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/0.4069, allocations: 0.6259 MB / 0.5837 GB, free: 12.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4069, allocations: 4 kB / 0.5837 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001546/0.4085, allocations: 0.8773 MB / 0.5845 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4085, allocations: 8 kB / 0.5846 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4085, allocations: 8.5 kB / 0.5846 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.4091, allocations: 227.2 kB / 0.5848 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.4096, allocations: 139.8 kB / 0.5849 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006424/0.4161, allocations: 6.303 MB / 0.5911 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.4166, allocations: 83.88 kB / 0.5912 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.4167, allocations: 31.98 kB / 0.5912 GB, free: 4.773 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.0003577/0.417, allocations: 229.6 kB / 0.5914 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.4172, allocations: 51.59 kB / 0.5914 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.4185, allocations: 0.6978 MB / 0.5921 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4185, allocations: 8 kB / 0.5921 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4185, allocations: 4 kB / 0.5921 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4186, allocations: 0 / 0.5921 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.4211, allocations: 1.526 MB / 0.5936 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4211, allocations: 4 kB / 0.5936 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.4214, allocations: 67.91 kB / 0.5937 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005691/0.4219, allocations: 219.2 kB / 0.5939 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.422, allocations: 12 kB / 0.5939 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006261/0.4282, allocations: 6.293 MB / 0.6001 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4282, allocations: 0 / 0.6001 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.4302, allocations: 1.191 MB / 0.6012 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4303, allocations: 51.73 kB / 0.6013 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.4304, allocations: 15.98 kB / 0.6013 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.4307, allocations: 12 kB / 0.6013 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.4309, allocations: 67.7 kB / 0.6014 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.4309, allocations: 16 kB / 0.6014 GB, free: 9.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002915/0.4312, allocations: 215.1 kB / 0.6016 GB, free: 9.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4312, allocations: 0 / 0.6016 GB, free: 9.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00109/0.4323, allocations: 279.3 kB / 0.6019 GB, free: 9.25 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.0002874/0.4326, allocations: 147.4 kB / 0.602 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.4344, allocations: 1.06 MB / 0.603 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4344, allocations: 3.938 kB / 0.603 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009943/0.4354, allocations: 0.7471 MB / 0.6038 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.436, allocations: 40.66 kB / 0.6038 GB, free: 7.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.4385, allocations: 1.273 MB / 0.605 GB, free: 5.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.4392, allocations: 0.9072 MB / 0.6059 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4393, allocations: 47.42 kB / 0.606 GB, free: 4.848 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4393, allocations: 0 / 0.606 GB, free: 4.848 MB / 446.1 MB Notification: Performance of Templates: time 0.02434/0.4636, allocations: 19.72 MB / 0.6252 GB, free: 1.094 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.90304202400148]