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.001633/0.001633, 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.001794/0.001794, 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.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2512/0.2512, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [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.002629/0.002629, allocations: 63.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3862, allocations: 65.48 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008833/0.3951, allocations: 4.757 MB / 0.5616 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.3991, allocations: 1.577 MB / 0.5631 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005822/0.3997, allocations: 20 kB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004023/0.4037, allocations: 1.482 MB / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.405, allocations: 313.6 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.4063, allocations: 498.5 kB / 0.5654 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.4075, allocations: 0.8162 MB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.4085, allocations: 0.6174 MB / 0.5668 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.409, allocations: 358.7 kB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.4096, allocations: 402.2 kB / 0.5675 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.4097, allocations: 76 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.4101, allocations: 195.9 kB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.4103, allocations: 171.4 kB / 0.5679 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.4106, allocations: 346.4 kB / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.412, allocations: 1.179 MB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.412, allocations: 0 / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.412, allocations: 0 / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.412, allocations: 0 / 0.5694 GB, free: 10.71 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.003347/0.4153, allocations: 1.308 MB / 0.5707 GB, free: 9.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4154, allocations: 8.031 kB / 0.5707 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.4156, allocations: 152.4 kB / 0.5708 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.4171, allocations: 232.2 kB / 0.5711 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.4174, allocations: 198 kB / 0.5713 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.4174, allocations: 74.38 kB / 0.5713 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.4176, allocations: 99.94 kB / 0.5714 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.4192, allocations: 0.9477 MB / 0.5724 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.4192, allocations: 3.953 kB / 0.5724 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.4193, allocations: 40 kB / 0.5724 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.4193, allocations: 27.98 kB / 0.5724 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.4206, allocations: 0.7184 MB / 0.5731 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.4256, allocations: 2.848 MB / 0.5759 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.4273, allocations: 0.7617 MB / 0.5766 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.4277, allocations: 260.4 kB / 0.5769 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.429e-05/0.4278, allocations: 24.3 kB / 0.5769 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.4278, allocations: 42.89 kB / 0.577 GB, free: 2.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.465e-06/0.4278, allocations: 0 / 0.577 GB, free: 2.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002812/0.4307, allocations: 1.023 MB / 0.578 GB, free: 1.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4308, allocations: 136.5 kB / 0.5781 GB, free: 1.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.4313, allocations: 331.9 kB / 0.5784 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.4313, allocations: 33.7 kB / 0.5784 GB, free: 1.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.4317, allocations: 415.8 kB / 0.5788 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.4319, allocations: 241.9 kB / 0.5791 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.4322, allocations: 146.6 kB / 0.5792 GB, free: 364 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.4324, allocations: 350.7 kB / 0.5795 GB, free: 4 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.4328, allocations: 201.9 kB / 0.5797 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.4335, allocations: 400.6 kB / 0.5801 GB, free: 15.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.4346, allocations: 0.622 MB / 0.5807 GB, free: 14.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4346, allocations: 8 kB / 0.5807 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001654/0.4362, allocations: 0.8773 MB / 0.5816 GB, free: 13.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.4362, allocations: 8 kB / 0.5816 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4363, allocations: 4 kB / 0.5816 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007348/0.437, allocations: 223.7 kB / 0.5818 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.4375, allocations: 143.7 kB / 0.5819 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/0.4441, allocations: 6.257 MB / 0.5881 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.4447, allocations: 91.41 kB / 0.5881 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.4447, allocations: 36 kB / 0.5882 GB, free: 6.496 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.0003534/0.4451, allocations: 221.6 kB / 0.5884 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.4452, allocations: 43.72 kB / 0.5884 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.4466, allocations: 0.6823 MB / 0.5891 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.4466, allocations: 8 kB / 0.5891 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.4466, allocations: 4 kB / 0.5891 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.4466, allocations: 3.984 kB / 0.5891 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.4493, allocations: 1.463 MB / 0.5905 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.4493, allocations: 4 kB / 0.5905 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.4496, allocations: 67.91 kB / 0.5906 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005575/0.4501, allocations: 215.2 kB / 0.5908 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.4502, allocations: 19.98 kB / 0.5908 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.4566, allocations: 6.246 MB / 0.5969 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4566, allocations: 4.031 kB / 0.5969 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.4584, allocations: 1.187 MB / 0.5981 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.4586, allocations: 59.55 kB / 0.5982 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.4586, allocations: 12 kB / 0.5982 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.459, allocations: 12 kB / 0.5982 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4591, allocations: 64.14 kB / 0.5982 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.4591, allocations: 16 kB / 0.5983 GB, free: 11.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.4594, allocations: 215.1 kB / 0.5985 GB, free: 11.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4594, allocations: 0 / 0.5985 GB, free: 11.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001107/0.4605, allocations: 287.3 kB / 0.5987 GB, free: 11.1 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.002174/0.4627, allocations: 1.774 MB / 0.6005 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.4643, allocations: 1.043 MB / 0.6015 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4643, allocations: 0 / 0.6015 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.4653, allocations: 0.7683 MB / 0.6022 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.466, allocations: 44.58 kB / 0.6023 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007244/0.4732, allocations: 5.122 MB / 0.6073 GB, free: 1.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4736, allocations: 318.5 kB / 0.6076 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.4738, allocations: 68.47 kB / 0.6076 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.4741, allocations: 239.3 kB / 0.6079 GB, free: 1.293 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4741, allocations: 0 / 0.6079 GB, free: 1.293 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05697/0.5311, allocations: 12.76 MB / 0.6203 GB, free: 4.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.68, allocations: 11.88 kB / 0.6204 GB, free: 4.719 MB / 462.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] 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: 15.78130366280675]