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.001333/0.001333, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001419/0.001419, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2386/0.2386, allocations: 46.97 MB / 361.7 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: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.88 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 66.02 MB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007113/0.3481, allocations: 4.751 MB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.3516, allocations: 1.572 MB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.3521, allocations: 20 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00404/0.3562, allocations: 1.47 MB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.3579, allocations: 313.7 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.3597, allocations: 0.5064 MB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.3614, allocations: 0.8007 MB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.3629, allocations: 0.633 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009112/0.3638, allocations: 362.7 kB / 0.5715 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3649, allocations: 462.2 kB / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.3651, allocations: 76 kB / 0.572 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.3659, allocations: 195.9 kB / 0.5722 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.366, allocations: 175.3 kB / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.3665, allocations: 342.4 kB / 0.5727 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3681, allocations: 1.183 MB / 0.5739 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3681, allocations: 4 kB / 0.5739 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3681, allocations: 0 / 0.5739 GB, free: 7.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.3681, allocations: 0 / 0.5739 GB, free: 7.348 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.003658/0.3718, allocations: 1.296 MB / 0.5751 GB, free: 6.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.3719, allocations: 12.03 kB / 0.5752 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.475e-05/0.3719, allocations: 26.19 kB / 0.5752 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.3721, allocations: 152.4 kB / 0.5753 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.3738, allocations: 232.2 kB / 0.5755 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3741, allocations: 210 kB / 0.5757 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.3742, allocations: 82.06 kB / 0.5758 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3743, allocations: 100 kB / 0.5759 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3761, allocations: 0.936 MB / 0.5768 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.3761, allocations: 7.953 kB / 0.5768 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.3762, allocations: 40 kB / 0.5769 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.3762, allocations: 24 kB / 0.5769 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.3776, allocations: 0.7262 MB / 0.5776 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.3827, allocations: 2.84 MB / 0.5804 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.3844, allocations: 0.7673 MB / 0.5811 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.3848, allocations: 256.5 kB / 0.5814 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.385, allocations: 28.3 kB / 0.5814 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.385, allocations: 50.77 kB / 0.5815 GB, free: 15.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.437e-06/0.385, allocations: 0 / 0.5815 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002869/0.3879, allocations: 1.015 MB / 0.5824 GB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.388, allocations: 136.5 kB / 0.5826 GB, free: 14.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.3884, allocations: 320 kB / 0.5829 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.3885, allocations: 37.7 kB / 0.5829 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.3888, allocations: 407.8 kB / 0.5833 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.389, allocations: 242 kB / 0.5835 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.3893, allocations: 150.6 kB / 0.5837 GB, free: 12.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3895, allocations: 358.7 kB / 0.584 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.3899, allocations: 201.9 kB / 0.5842 GB, free: 12.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.3904, allocations: 400.6 kB / 0.5846 GB, free: 11.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.3914, allocations: 0.6258 MB / 0.5852 GB, free: 11.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3914, allocations: 0 / 0.5852 GB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00181/0.3932, allocations: 0.8773 MB / 0.5861 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.3932, allocations: 8.5 kB / 0.5861 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3933, allocations: 4 kB / 0.5861 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/0.394, allocations: 227.2 kB / 0.5863 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.3945, allocations: 143.8 kB / 0.5864 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/0.4011, allocations: 6.245 MB / 0.5925 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.4017, allocations: 83.41 kB / 0.5926 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.4018, allocations: 40.38 kB / 0.5926 GB, free: 3.121 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.0004143/0.4022, allocations: 231.6 kB / 0.5929 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.4024, allocations: 43.72 kB / 0.5929 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.4038, allocations: 0.6874 MB / 0.5936 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.4038, allocations: 8 kB / 0.5936 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4038, allocations: 4 kB / 0.5936 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4038, allocations: 11.92 kB / 0.5936 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.4065, allocations: 1.459 MB / 0.595 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4065, allocations: 0 / 0.595 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.4067, allocations: 63.91 kB / 0.5951 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/0.4073, allocations: 219.2 kB / 0.5953 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.4073, allocations: 12 kB / 0.5953 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.4138, allocations: 6.25 MB / 0.6014 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4138, allocations: 0 / 0.6014 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4156, allocations: 1.195 MB / 0.6026 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4157, allocations: 43.64 kB / 0.6026 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.4158, allocations: 15.98 kB / 0.6026 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.4161, allocations: 12 kB / 0.6026 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4163, allocations: 71.56 kB / 0.6027 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.4163, allocations: 23.94 kB / 0.6027 GB, free: 8.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.4166, allocations: 211.1 kB / 0.6029 GB, free: 7.996 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4166, allocations: 0 / 0.6029 GB, free: 7.996 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001048/0.4176, allocations: 283.3 kB / 0.6032 GB, free: 7.719 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.002278/0.4199, allocations: 1.773 MB / 0.6049 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.4217, allocations: 1.044 MB / 0.606 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4217, allocations: 4 kB / 0.606 GB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.4228, allocations: 0.7533 MB / 0.6067 GB, free: 3.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.4235, allocations: 40.66 kB / 0.6067 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008196/0.4317, allocations: 5.142 MB / 0.6118 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.4321, allocations: 318.5 kB / 0.6121 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.4323, allocations: 64.53 kB / 0.6121 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.4327, allocations: 231.4 kB / 0.6123 GB, free: 13.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4327, allocations: 8 kB / 0.6124 GB, free: 13.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07336/0.506, allocations: 12.72 MB / 0.6248 GB, free: 1.398 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.2, allocations: 8.062 kB / 0.6248 GB, free: 1.391 MB / 462.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] 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: 16.242534779943526]