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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001908/0.001908, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2513/0.2513, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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.00249/0.00249, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.332, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007008/0.339, allocations: 4.755 MB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3426, allocations: 1.577 MB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.3432, allocations: 20 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.3471, allocations: 1.482 MB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.3483, allocations: 309.6 kB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3497, allocations: 0.5027 MB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3509, allocations: 0.8124 MB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.3521, allocations: 0.6174 MB / 0.5704 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.3527, allocations: 354.7 kB / 0.5708 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000587/0.3533, allocations: 402.2 kB / 0.5711 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3534, allocations: 76 kB / 0.5712 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.3539, allocations: 191.9 kB / 0.5714 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3541, allocations: 179.3 kB / 0.5716 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.3544, allocations: 342.4 kB / 0.5719 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.356, allocations: 1.179 MB / 0.573 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.356, allocations: 4 kB / 0.5731 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.356, allocations: 0 / 0.5731 GB, free: 7.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.356, allocations: 0 / 0.5731 GB, free: 7.398 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.003531/0.3595, allocations: 1.3 MB / 0.5743 GB, free: 6.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3596, allocations: 16.03 kB / 0.5743 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.3598, allocations: 152.4 kB / 0.5745 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.3614, allocations: 232.2 kB / 0.5747 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3616, allocations: 202 kB / 0.5749 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.3617, allocations: 74.38 kB / 0.575 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.3618, allocations: 99.94 kB / 0.5751 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.3635, allocations: 0.936 MB / 0.576 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.3635, allocations: 3.953 kB / 0.576 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.3636, allocations: 44 kB / 0.576 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.3636, allocations: 24 kB / 0.576 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.365, allocations: 0.7261 MB / 0.5768 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.3698, allocations: 2.84 MB / 0.5795 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3715, allocations: 0.7708 MB / 0.5803 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/0.3719, allocations: 260.4 kB / 0.5805 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.374e-05/0.372, allocations: 20.31 kB / 0.5805 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.372, allocations: 50.88 kB / 0.5806 GB, free: 15.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.915e-06/0.372, allocations: 0 / 0.5806 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002696/0.3747, allocations: 1.015 MB / 0.5816 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.3748, allocations: 144.4 kB / 0.5817 GB, free: 14.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.3752, allocations: 324 kB / 0.582 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.3753, allocations: 41.77 kB / 0.5821 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.3755, allocations: 411.8 kB / 0.5825 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.3758, allocations: 245.9 kB / 0.5827 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.376, allocations: 142.6 kB / 0.5828 GB, free: 13.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3762, allocations: 354.7 kB / 0.5832 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.3765, allocations: 197.9 kB / 0.5834 GB, free: 12.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.3771, allocations: 404.6 kB / 0.5838 GB, free: 12.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/0.378, allocations: 0.6219 MB / 0.5844 GB, free: 11.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.378, allocations: 4 kB / 0.5844 GB, free: 11.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00165/0.3797, allocations: 0.8815 MB / 0.5852 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3797, allocations: 8 kB / 0.5852 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3797, allocations: 4 kB / 0.5852 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.3804, allocations: 223.4 kB / 0.5854 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.3809, allocations: 139.8 kB / 0.5856 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.3872, allocations: 6.253 MB / 0.5917 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.3877, allocations: 87.3 kB / 0.5918 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.3878, allocations: 35.98 kB / 0.5918 GB, free: 3.191 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.0003531/0.3881, allocations: 225.7 kB / 0.592 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3882, allocations: 43.72 kB / 0.5921 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.3896, allocations: 0.6719 MB / 0.5927 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.3896, allocations: 11.94 kB / 0.5927 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3896, allocations: 4 kB / 0.5927 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3896, allocations: 11.98 kB / 0.5927 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.3922, allocations: 1.458 MB / 0.5942 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3922, allocations: 0 / 0.5942 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.3925, allocations: 67.91 kB / 0.5942 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/0.3931, allocations: 223.2 kB / 0.5944 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.3931, allocations: 15.98 kB / 0.5945 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006206/0.3993, allocations: 6.242 MB / 0.6006 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3993, allocations: 4.156 kB / 0.6006 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.401, allocations: 1.187 MB / 0.6017 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.4012, allocations: 59.56 kB / 0.6018 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.4012, allocations: 12.38 kB / 0.6018 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.4016, allocations: 23.92 kB / 0.6018 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4017, allocations: 67.69 kB / 0.6019 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.4017, allocations: 16 kB / 0.6019 GB, free: 8.273 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.402, allocations: 222.9 kB / 0.6021 GB, free: 8.055 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.402, allocations: 0 / 0.6021 GB, free: 8.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001019/0.403, allocations: 279.4 kB / 0.6024 GB, free: 7.781 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.002149/0.4051, allocations: 1.769 MB / 0.6041 GB, free: 5.969 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.4069, allocations: 1.041 MB / 0.6051 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4069, allocations: 0 / 0.6051 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.408, allocations: 0.756 MB / 0.6059 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.4088, allocations: 48.97 kB / 0.6059 GB, free: 4.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007909/0.4167, allocations: 5.122 MB / 0.6109 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4171, allocations: 318.5 kB / 0.6112 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.4173, allocations: 72.52 kB / 0.6113 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.4177, allocations: 231.4 kB / 0.6115 GB, free: 13.98 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4177, allocations: 0 / 0.6115 GB, free: 13.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05717/0.4748, allocations: 12.76 MB / 0.624 GB, free: 1.426 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.53, allocations: 13.59 kB / 0.624 GB, free: 1.414 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.706353058107197]