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.001831/0.001831, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002651/0.002651, allocations: 214 kB / 24.52 MB, free: 3.914 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.222/0.222, allocations: 44.94 MB / 359.6 MB, free: 6.082 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",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.002098/0.002098, allocations: 67.91 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3393, allocations: 65.48 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006943/0.3463, allocations: 4.733 MB / 0.5624 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.3495, allocations: 1.584 MB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.3499, allocations: 16 kB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.3537, allocations: 1.47 MB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009916/0.3547, allocations: 317.6 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3559, allocations: 0.4908 MB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009774/0.3569, allocations: 0.8084 MB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.3579, allocations: 0.6369 MB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/0.3584, allocations: 350.7 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.359, allocations: 466.1 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3591, allocations: 80 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.3596, allocations: 199.8 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.3597, allocations: 175.3 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.3601, allocations: 342.4 kB / 0.5691 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.3615, allocations: 1.179 MB / 0.5702 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3615, allocations: 0 / 0.5702 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3615, allocations: 0 / 0.5702 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3615, allocations: 3.938 kB / 0.5702 GB, free: 10.67 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.003529/0.365, allocations: 1.3 MB / 0.5715 GB, free: 9.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3651, allocations: 12.02 kB / 0.5715 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.123e-05/0.3651, allocations: 30.12 kB / 0.5716 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.3653, allocations: 156.4 kB / 0.5717 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.367, allocations: 228.2 kB / 0.5719 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.3673, allocations: 210 kB / 0.5721 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.3673, allocations: 78.12 kB / 0.5722 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.3675, allocations: 100 kB / 0.5723 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.3693, allocations: 0.9282 MB / 0.5732 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.3694, allocations: 11.95 kB / 0.5732 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.3694, allocations: 36 kB / 0.5732 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.3695, allocations: 27.94 kB / 0.5733 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.3709, allocations: 0.7262 MB / 0.574 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.3761, allocations: 2.844 MB / 0.5768 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.378, allocations: 0.7635 MB / 0.5775 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.3784, allocations: 256.5 kB / 0.5778 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.3785, allocations: 28.3 kB / 0.5778 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.3786, allocations: 46.83 kB / 0.5778 GB, free: 2.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.906e-06/0.3786, allocations: 0 / 0.5778 GB, free: 2.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002798/0.3814, allocations: 1.015 MB / 0.5788 GB, free: 1.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.3815, allocations: 136.5 kB / 0.5789 GB, free: 1.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.3819, allocations: 316.1 kB / 0.5792 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.3819, allocations: 37.7 kB / 0.5793 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.3823, allocations: 415.8 kB / 0.5797 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.3825, allocations: 242 kB / 0.5799 GB, free: 452 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.3827, allocations: 146.6 kB / 0.58 GB, free: 300 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.3829, allocations: 354.7 kB / 0.5804 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.3833, allocations: 205.9 kB / 0.5806 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.3839, allocations: 396.6 kB / 0.581 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.3848, allocations: 0.6298 MB / 0.5816 GB, free: 14.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3849, allocations: 0 / 0.5816 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001686/0.3865, allocations: 0.8778 MB / 0.5824 GB, free: 13.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.3866, allocations: 8 kB / 0.5824 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.3866, allocations: 12.03 kB / 0.5825 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007764/0.3874, allocations: 223.2 kB / 0.5827 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.3879, allocations: 135.8 kB / 0.5828 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006542/0.3944, allocations: 6.253 MB / 0.5889 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.395, allocations: 83.41 kB / 0.589 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.3951, allocations: 39.92 kB / 0.589 GB, free: 6.441 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.0003528/0.3954, allocations: 224.3 kB / 0.5892 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3956, allocations: 43.72 kB / 0.5893 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.397, allocations: 0.6951 MB / 0.59 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.397, allocations: 8 kB / 0.59 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.397, allocations: 8 kB / 0.59 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.397, allocations: 7.922 kB / 0.59 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.3996, allocations: 1.455 MB / 0.5914 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3996, allocations: 0 / 0.5914 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.3999, allocations: 67.91 kB / 0.5915 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006/0.4005, allocations: 211.2 kB / 0.5917 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.4005, allocations: 16.17 kB / 0.5917 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.4068, allocations: 6.265 MB / 0.5978 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4068, allocations: 0 / 0.5978 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.4086, allocations: 1.195 MB / 0.599 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4087, allocations: 47.62 kB / 0.599 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.4088, allocations: 12 kB / 0.599 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.4091, allocations: 12 kB / 0.599 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.4093, allocations: 63.77 kB / 0.5991 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.4093, allocations: 20 kB / 0.5991 GB, free: 11.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.4097, allocations: 215.1 kB / 0.5993 GB, free: 11.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4097, allocations: 3.938 kB / 0.5993 GB, free: 11.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4108, allocations: 275.3 kB / 0.5996 GB, free: 11.04 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.002237/0.413, allocations: 1.776 MB / 0.6013 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.4148, allocations: 1.048 MB / 0.6023 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4148, allocations: 0 / 0.6023 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009984/0.4158, allocations: 0.7572 MB / 0.6031 GB, free: 7.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.4165, allocations: 44.64 kB / 0.6031 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.4244, allocations: 5.133 MB / 0.6081 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.4248, allocations: 318.5 kB / 0.6084 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002593/0.4251, allocations: 64.53 kB / 0.6085 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.4254, allocations: 235.5 kB / 0.6087 GB, free: 1.227 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4254, allocations: 3.938 kB / 0.6087 GB, free: 1.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.4743, allocations: 12.73 MB / 0.6212 GB, free: 4.715 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.3, allocations: 4 kB / 0.6212 GB, free: 4.711 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: 16.375790904043242]