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.001423/0.001423, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001569/0.001569, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2395/0.2395, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.002073/0.002073, allocations: 59.91 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3657, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007463/0.3732, allocations: 4.763 MB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004627/0.3778, allocations: 1.576 MB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.3782, allocations: 20 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.3819, allocations: 1.47 MB / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009098/0.3828, allocations: 321.6 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3842, allocations: 0.4907 MB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3852, allocations: 0.8084 MB / 0.5703 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.3862, allocations: 0.6231 MB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.3867, allocations: 358.7 kB / 0.5712 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.3873, allocations: 406.2 kB / 0.5716 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3874, allocations: 76 kB / 0.5717 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.3879, allocations: 187.9 kB / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.388, allocations: 183.3 kB / 0.5721 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.3884, allocations: 346.4 kB / 0.5724 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.3899, allocations: 1.174 MB / 0.5735 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3899, allocations: 3.938 kB / 0.5735 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3899, allocations: 0 / 0.5735 GB, free: 7.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3899, allocations: 0 / 0.5735 GB, free: 7.328 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.003467/0.3934, allocations: 1.3 MB / 0.5748 GB, free: 5.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.3934, allocations: 8.031 kB / 0.5748 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.395, allocations: 236.2 kB / 0.575 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3952, allocations: 203.6 kB / 0.5752 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.3953, allocations: 74.38 kB / 0.5753 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.3955, allocations: 104.1 kB / 0.5754 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3971, allocations: 0.9321 MB / 0.5763 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.3971, allocations: 7.953 kB / 0.5763 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.3972, allocations: 40 kB / 0.5764 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.3973, allocations: 24 kB / 0.5764 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3986, allocations: 0.7222 MB / 0.5771 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004625/0.4032, allocations: 2.72 MB / 0.5797 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.4049, allocations: 0.7748 MB / 0.5805 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.4053, allocations: 262.9 kB / 0.5807 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/0.4054, allocations: 32.23 kB / 0.5808 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.4054, allocations: 46.83 kB / 0.5808 GB, free: 15.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.444e-06/0.4054, allocations: 0 / 0.5808 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.0026/0.408, allocations: 1.007 MB / 0.5818 GB, free: 14.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/0.4081, allocations: 140.5 kB / 0.5819 GB, free: 14.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.4085, allocations: 297.6 kB / 0.5822 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.4085, allocations: 37.7 kB / 0.5823 GB, free: 14.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.4088, allocations: 415.8 kB / 0.5827 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.409, allocations: 245.9 kB / 0.5829 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.4092, allocations: 146.6 kB / 0.583 GB, free: 13.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4094, allocations: 346.8 kB / 0.5834 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.4097, allocations: 197.9 kB / 0.5835 GB, free: 12.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.4103, allocations: 400.6 kB / 0.5839 GB, free: 12.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.4112, allocations: 0.6181 MB / 0.5845 GB, free: 11.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4112, allocations: 3.938 kB / 0.5845 GB, free: 11.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001561/0.4127, allocations: 0.8812 MB / 0.5854 GB, free: 10.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.4128, allocations: 15.92 kB / 0.5854 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4128, allocations: 4 kB / 0.5854 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.4134, allocations: 219.8 kB / 0.5856 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.4139, allocations: 147.8 kB / 0.5858 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006598/0.4205, allocations: 6.153 MB / 0.5918 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.4211, allocations: 83.88 kB / 0.5919 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.4211, allocations: 28.12 kB / 0.5919 GB, free: 3.609 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.0003796/0.4215, allocations: 229.6 kB / 0.5921 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.4217, allocations: 55.59 kB / 0.5922 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.423, allocations: 0.6833 MB / 0.5928 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.423, allocations: 4 kB / 0.5928 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.423, allocations: 8 kB / 0.5928 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.4231, allocations: 7.922 kB / 0.5928 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.4254, allocations: 1.346 MB / 0.5942 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4254, allocations: 4 kB / 0.5942 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.4257, allocations: 75.89 kB / 0.5942 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/0.4262, allocations: 211.2 kB / 0.5944 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.4263, allocations: 23.92 kB / 0.5945 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/0.4321, allocations: 6.147 MB / 0.6005 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4321, allocations: 0 / 0.6005 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.4338, allocations: 1.187 MB / 0.6016 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4339, allocations: 55.69 kB / 0.6017 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.434, allocations: 12 kB / 0.6017 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.4343, allocations: 12.06 kB / 0.6017 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.4344, allocations: 71.7 kB / 0.6018 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.4345, allocations: 20 kB / 0.6018 GB, free: 8.941 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.4347, allocations: 189.2 kB / 0.602 GB, free: 8.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4347, allocations: 0 / 0.602 GB, free: 8.758 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001187/0.4359, allocations: 287.3 kB / 0.6022 GB, free: 8.477 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.0003363/0.4362, allocations: 139.4 kB / 0.6024 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.4379, allocations: 1.049 MB / 0.6034 GB, free: 7.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4379, allocations: 0 / 0.6034 GB, free: 7.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009312/0.4389, allocations: 0.76 MB / 0.6041 GB, free: 6.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.4396, allocations: 44.47 kB / 0.6042 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.4418, allocations: 1.239 MB / 0.6054 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.4422, allocations: 314.5 kB / 0.6057 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.4424, allocations: 68.42 kB / 0.6058 GB, free: 4.691 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.4425, allocations: 31.44 kB / 0.6058 GB, free: 4.664 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4425, allocations: 0 / 0.6058 GB, free: 4.664 MB / 446.1 MB Notification: Performance of Templates: time 0.01585/0.4584, allocations: 7.601 MB / 0.6132 GB, free: 13.14 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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: 5.691393310204148]