Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2328/0.2328, allocations: 46.9 MB / 361.1 MB, free: 4.629 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 79.86 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2932, allocations: 66 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007967/0.3011, allocations: 5.37 MB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003547/0.3047, allocations: 1.666 MB / 0.5681 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.3053, allocations: 16 kB / 0.5681 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.3091, allocations: 1.602 MB / 0.5697 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009778/0.3101, allocations: 317.6 kB / 0.57 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3112, allocations: 0.5258 MB / 0.5705 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009226/0.3122, allocations: 0.8007 MB / 0.5713 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009072/0.3131, allocations: 0.5598 MB / 0.5718 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.3135, allocations: 346.7 kB / 0.5721 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006166/0.3141, allocations: 466.2 kB / 0.5726 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3142, allocations: 79.94 kB / 0.5727 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.3146, allocations: 199.9 kB / 0.5728 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3148, allocations: 167.4 kB / 0.573 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.3152, allocations: 429.9 kB / 0.5734 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3165, allocations: 1.175 MB / 0.5746 GB, free: 7.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3165, allocations: 0 / 0.5746 GB, free: 7.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3166, allocations: 0 / 0.5746 GB, free: 7.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3166, allocations: 0 / 0.5746 GB, free: 7.262 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.003544/0.3201, allocations: 1.38 MB / 0.5759 GB, free: 5.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3201, allocations: 12.03 kB / 0.5759 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.3218, allocations: 236.2 kB / 0.5761 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3221, allocations: 255.9 kB / 0.5764 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.019e-05/0.3222, allocations: 70.38 kB / 0.5765 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.3223, allocations: 104.1 kB / 0.5766 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.3239, allocations: 0.936 MB / 0.5775 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.324, allocations: 3.953 kB / 0.5775 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.3241, allocations: 40 kB / 0.5775 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.3241, allocations: 32 kB / 0.5775 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3254, allocations: 0.7262 MB / 0.5783 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/0.3311, allocations: 4.08 MB / 0.5822 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.3343, allocations: 3.317 MB / 0.5855 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.3348, allocations: 267.3 kB / 0.5857 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.3349, allocations: 178.5 kB / 0.5859 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.335, allocations: 50.89 kB / 0.586 GB, free: 10.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.945e-06/0.335, allocations: 0 / 0.586 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002825/0.3378, allocations: 1.329 MB / 0.5873 GB, free: 8.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.3379, allocations: 136.5 kB / 0.5874 GB, free: 8.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.3383, allocations: 310.8 kB / 0.5877 GB, free: 8.516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.3383, allocations: 37.7 kB / 0.5877 GB, free: 8.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.3386, allocations: 411.8 kB / 0.5881 GB, free: 8.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.3388, allocations: 249.8 kB / 0.5883 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.3391, allocations: 154.6 kB / 0.5885 GB, free: 7.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3392, allocations: 346.8 kB / 0.5888 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.3396, allocations: 197.9 kB / 0.589 GB, free: 7.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3401, allocations: 404.6 kB / 0.5894 GB, free: 6.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009068/0.341, allocations: 0.6259 MB / 0.59 GB, free: 5.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.341, allocations: 3.938 kB / 0.59 GB, free: 5.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001632/0.3427, allocations: 0.8815 MB / 0.5909 GB, free: 5.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3427, allocations: 11.98 kB / 0.5909 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3427, allocations: 4 kB / 0.5909 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006631/0.3434, allocations: 223.4 kB / 0.5911 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.3439, allocations: 139.8 kB / 0.5912 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.3504, allocations: 6.703 MB / 0.5978 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.351, allocations: 87.3 kB / 0.5979 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.351, allocations: 36 kB / 0.5979 GB, free: 13.26 MB / 446.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.0003318/0.3514, allocations: 221.6 kB / 0.5981 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3515, allocations: 43.77 kB / 0.5982 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.3528, allocations: 0.6851 MB / 0.5988 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3528, allocations: 7.984 kB / 0.5988 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3528, allocations: 0 / 0.5988 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.353, allocations: 128.7 kB / 0.599 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.353, allocations: 15.94 kB / 0.599 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.3534, allocations: 16 kB / 0.599 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.3535, allocations: 67.83 kB / 0.599 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001875/0.3553, allocations: 1.006 MB / 0.6 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001317/0.3567, allocations: 1.062 MB / 0.6011 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003041/0.357, allocations: 171.8 kB / 0.6012 GB, free: 9.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.3572, allocations: 205.9 kB / 0.6014 GB, free: 9.57 MB / 446.1 MB Notification: Performance of Backend: time 3.91e-07/0.3572, allocations: 0 / 0.6014 GB, free: 9.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.3596, allocations: 1.05 MB / 0.6024 GB, free: 8.465 MB / 446.1 MB Notification: Performance of SimCode: time 0.002426/0.362, allocations: 1.783 MB / 0.6042 GB, free: 6.625 MB / 446.1 MB Notification: Performance of Templates: time 0.01719/0.3792, allocations: 8.827 MB / 0.6128 GB, free: 13.82 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.14658482465893]