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.001434/0.001434, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001471/0.001471, allocations: 219.5 kB / 24.49 MB, free: 3.93 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2337/0.2337, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.002032/0.002032, allocations: 71.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007215/0.3647, allocations: 4.755 MB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.368, allocations: 1.577 MB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.3683, allocations: 16 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003672/0.372, allocations: 1.485 MB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.373, allocations: 309.6 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.3742, allocations: 0.5019 MB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009663/0.3752, allocations: 0.8046 MB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.3762, allocations: 0.6416 MB / 0.5717 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/0.3767, allocations: 354.7 kB / 0.572 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.3772, allocations: 462.2 kB / 0.5725 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3773, allocations: 72 kB / 0.5725 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.3778, allocations: 199.9 kB / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.3779, allocations: 175.3 kB / 0.5729 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.3783, allocations: 346.4 kB / 0.5732 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.3797, allocations: 1.179 MB / 0.5744 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3797, allocations: 0 / 0.5744 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3797, allocations: 0 / 0.5744 GB, free: 7.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.3797, allocations: 4 kB / 0.5744 GB, free: 7.289 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.003533/0.3833, allocations: 1.3 MB / 0.5756 GB, free: 5.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3833, allocations: 8.031 kB / 0.5756 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.385, allocations: 236.2 kB / 0.5759 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.3852, allocations: 202 kB / 0.5761 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/0.3853, allocations: 74.38 kB / 0.5761 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.3854, allocations: 104.1 kB / 0.5762 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.3871, allocations: 0.9321 MB / 0.5771 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.3871, allocations: 11.95 kB / 0.5771 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.3872, allocations: 36 kB / 0.5772 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.3873, allocations: 24 kB / 0.5772 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.3886, allocations: 0.7222 MB / 0.5779 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00447/0.3931, allocations: 2.72 MB / 0.5806 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3947, allocations: 0.7709 MB / 0.5813 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.3951, allocations: 268.3 kB / 0.5816 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/0.3952, allocations: 24.31 kB / 0.5816 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3952, allocations: 46.81 kB / 0.5816 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.725e-06/0.3952, allocations: 0 / 0.5816 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002591/0.3978, allocations: 1.011 MB / 0.5826 GB, free: 14.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.3979, allocations: 136.5 kB / 0.5828 GB, free: 14.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.3982, allocations: 301.6 kB / 0.583 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.3983, allocations: 41.64 kB / 0.5831 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.3986, allocations: 411.8 kB / 0.5835 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.3987, allocations: 241.9 kB / 0.5837 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.399, allocations: 150.6 kB / 0.5839 GB, free: 13.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3991, allocations: 350.7 kB / 0.5842 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.3995, allocations: 201.9 kB / 0.5844 GB, free: 12.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.4, allocations: 396.7 kB / 0.5848 GB, free: 12.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008984/0.4009, allocations: 0.6257 MB / 0.5854 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4009, allocations: 4 kB / 0.5854 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001566/0.4025, allocations: 0.8816 MB / 0.5862 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4025, allocations: 4 kB / 0.5862 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4025, allocations: 8 kB / 0.5862 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/0.4032, allocations: 223.3 kB / 0.5865 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.4037, allocations: 139.8 kB / 0.5866 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006067/0.4097, allocations: 6.157 MB / 0.5926 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.4105, allocations: 83.34 kB / 0.5927 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.4106, allocations: 40.45 kB / 0.5927 GB, free: 3.551 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.0004936/0.4111, allocations: 213.7 kB / 0.5929 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.4114, allocations: 47.78 kB / 0.593 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.4133, allocations: 0.6833 MB / 0.5936 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4133, allocations: 3.984 kB / 0.5936 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.4133, allocations: 4 kB / 0.5937 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.4135, allocations: 47.58 kB / 0.5937 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/0.4136, allocations: 16 kB / 0.5937 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.4141, allocations: 12 kB / 0.5937 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.4143, allocations: 75.66 kB / 0.5938 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002631/0.4169, allocations: 0.9962 MB / 0.5948 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001884/0.4188, allocations: 1.061 MB / 0.5958 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004389/0.4192, allocations: 175.8 kB / 0.596 GB, free: 164 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003607/0.4196, allocations: 185.2 kB / 0.5961 GB, free: 15.98 MB / 446.1 MB Notification: Performance of Backend: time 6.62e-07/0.4196, allocations: 0 / 0.5961 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003257/0.4228, allocations: 1.052 MB / 0.5972 GB, free: 14.87 MB / 446.1 MB Notification: Performance of SimCode: time 0.00336/0.4262, allocations: 1.778 MB / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Templates: time 0.02723/0.4534, allocations: 9.729 MB / 0.6084 GB, free: 3.391 MB / 446.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: 5.330251020001015]