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.001399/0.001399, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002198/0.002198, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.492/1.492, 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.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.96 MB / 360.9 MB, free: 4.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.83 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007744/0.3681, allocations: 4.748 MB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.3718, allocations: 1.58 MB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.3722, allocations: 16 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.3758, allocations: 1.477 MB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009143/0.3768, allocations: 321.6 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.378, allocations: 0.4941 MB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008917/0.3788, allocations: 0.7968 MB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009745/0.3798, allocations: 0.6447 MB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.3803, allocations: 346.8 kB / 0.5708 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.3808, allocations: 470.1 kB / 0.5712 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-05/0.3809, allocations: 72 kB / 0.5713 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.3814, allocations: 191.9 kB / 0.5715 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.3815, allocations: 183.3 kB / 0.5716 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.3819, allocations: 342.4 kB / 0.572 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3832, allocations: 1.187 MB / 0.5731 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3832, allocations: 0 / 0.5731 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3832, allocations: 0 / 0.5731 GB, free: 7.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3832, allocations: 0 / 0.5731 GB, free: 7.34 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.003464/0.3867, allocations: 1.297 MB / 0.5744 GB, free: 6.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3867, allocations: 8.031 kB / 0.5744 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.3869, allocations: 152.4 kB / 0.5745 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.3886, allocations: 236.1 kB / 0.5748 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3888, allocations: 211.5 kB / 0.575 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/0.3888, allocations: 74.38 kB / 0.575 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.389, allocations: 99.94 kB / 0.5751 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.3907, allocations: 0.9399 MB / 0.576 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.3907, allocations: 11.95 kB / 0.5761 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.3908, allocations: 40 kB / 0.5761 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.3908, allocations: 24 kB / 0.5761 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.3921, allocations: 0.7222 MB / 0.5768 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/0.3971, allocations: 2.84 MB / 0.5796 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.3987, allocations: 0.767 MB / 0.5803 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.3991, allocations: 264.5 kB / 0.5806 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/0.3992, allocations: 28.3 kB / 0.5806 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.3993, allocations: 42.83 kB / 0.5807 GB, free: 15.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.216e-06/0.3993, allocations: 0 / 0.5807 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002629/0.4019, allocations: 1.023 MB / 0.5817 GB, free: 14.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.402, allocations: 140.5 kB / 0.5818 GB, free: 14.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.4023, allocations: 320 kB / 0.5821 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4024, allocations: 37.7 kB / 0.5821 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.4027, allocations: 411.8 kB / 0.5825 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.4029, allocations: 249.8 kB / 0.5828 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.4031, allocations: 146.6 kB / 0.5829 GB, free: 12.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4032, allocations: 354.7 kB / 0.5832 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.4036, allocations: 197.9 kB / 0.5834 GB, free: 12.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.4042, allocations: 396.6 kB / 0.5838 GB, free: 11.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/0.4051, allocations: 0.6336 MB / 0.5844 GB, free: 11.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4051, allocations: 0 / 0.5844 GB, free: 11.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001569/0.4067, allocations: 0.8773 MB / 0.5853 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4067, allocations: 8 kB / 0.5853 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.4067, allocations: 8 kB / 0.5853 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.4074, allocations: 223.7 kB / 0.5855 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.4079, allocations: 139.8 kB / 0.5857 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/0.4143, allocations: 6.249 MB / 0.5918 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.4149, allocations: 87.3 kB / 0.5918 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.415, allocations: 44.11 kB / 0.5919 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.0004396/0.4154, allocations: 221.5 kB / 0.5921 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4156, allocations: 47.72 kB / 0.5921 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.417, allocations: 0.6797 MB / 0.5928 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.417, allocations: 4 kB / 0.5928 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.417, allocations: 8 kB / 0.5928 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.417, allocations: 0 / 0.5928 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.4198, allocations: 1.462 MB / 0.5942 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4198, allocations: 4 kB / 0.5942 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.4201, allocations: 71.91 kB / 0.5943 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005721/0.4207, allocations: 211.2 kB / 0.5945 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.4207, allocations: 12 kB / 0.5945 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006087/0.4268, allocations: 6.246 MB / 0.6006 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4268, allocations: 7.922 kB / 0.6006 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.4285, allocations: 1.183 MB / 0.6018 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4286, allocations: 55.69 kB / 0.6018 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.4287, allocations: 19.92 kB / 0.6019 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.429, allocations: 16 kB / 0.6019 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.4291, allocations: 71.56 kB / 0.6019 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.4292, allocations: 16 kB / 0.602 GB, free: 8.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.4294, allocations: 215.1 kB / 0.6022 GB, free: 8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4294, allocations: 0 / 0.6022 GB, free: 8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4305, allocations: 283.3 kB / 0.6024 GB, free: 7.723 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.002251/0.4327, allocations: 1.765 MB / 0.6042 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.4346, allocations: 1.045 MB / 0.6052 GB, free: 4.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4346, allocations: 4 kB / 0.6052 GB, free: 4.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.4356, allocations: 0.7489 MB / 0.6059 GB, free: 4.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.4364, allocations: 48.53 kB / 0.606 GB, free: 3.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007686/0.4441, allocations: 5.14 MB / 0.611 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4445, allocations: 318.5 kB / 0.6113 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.4447, allocations: 60.55 kB / 0.6113 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.445, allocations: 231.4 kB / 0.6116 GB, free: 13.93 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.445, allocations: 4 kB / 0.6116 GB, free: 13.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05602/0.5011, allocations: 13.03 MB / 0.6243 GB, free: 1.094 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.58, allocations: 3.938 kB / 0.6243 GB, free: 1.09 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: 15.597015471983468]