Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 205.6 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.95 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 75.88 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3175, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007264/0.3247, allocations: 4.746 MB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.3285, allocations: 1.58 MB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.329, allocations: 20 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.3327, allocations: 1.477 MB / 0.5683 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009561/0.3337, allocations: 317.6 kB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3349, allocations: 498.6 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009654/0.3359, allocations: 0.8046 MB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.3369, allocations: 0.6213 MB / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.3374, allocations: 350.8 kB / 0.5708 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.3379, allocations: 402.2 kB / 0.5712 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.338, allocations: 79.94 kB / 0.5713 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.3385, allocations: 195.9 kB / 0.5715 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3387, allocations: 179.3 kB / 0.5717 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.339, allocations: 338.4 kB / 0.572 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.3404, allocations: 1.183 MB / 0.5731 GB, free: 7.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3404, allocations: 0 / 0.5731 GB, free: 7.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3404, allocations: 4 kB / 0.5731 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.3405, allocations: 0 / 0.5731 GB, free: 7.23 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.003385/0.3438, allocations: 1.297 MB / 0.5744 GB, free: 5.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.3439, allocations: 12.03 kB / 0.5744 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.3441, allocations: 152.4 kB / 0.5746 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.3456, allocations: 232.2 kB / 0.5748 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3459, allocations: 206 kB / 0.575 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-05/0.346, allocations: 74.38 kB / 0.5751 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3461, allocations: 103.9 kB / 0.5752 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.3477, allocations: 0.9398 MB / 0.5761 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.3478, allocations: 11.94 kB / 0.5761 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.3478, allocations: 40 kB / 0.5761 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.3479, allocations: 24 kB / 0.5761 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.3492, allocations: 0.7144 MB / 0.5768 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005045/0.3542, allocations: 2.848 MB / 0.5796 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.3559, allocations: 0.7618 MB / 0.5804 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.3563, allocations: 260.9 kB / 0.5806 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3564, allocations: 32.23 kB / 0.5806 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3565, allocations: 42.89 kB / 0.5807 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.765e-06/0.3565, allocations: 4 kB / 0.5807 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002747/0.3592, allocations: 1.015 MB / 0.5817 GB, free: 14.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.3593, allocations: 136.5 kB / 0.5818 GB, free: 14.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.3598, allocations: 328 kB / 0.5821 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.3599, allocations: 37.7 kB / 0.5822 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.3602, allocations: 407.8 kB / 0.5825 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.3604, allocations: 245.9 kB / 0.5828 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.3607, allocations: 146.6 kB / 0.5829 GB, free: 12.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.3609, allocations: 358.7 kB / 0.5833 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.3614, allocations: 201.9 kB / 0.5835 GB, free: 12.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.362, allocations: 400.6 kB / 0.5838 GB, free: 11.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.363, allocations: 0.6335 MB / 0.5845 GB, free: 11.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.363, allocations: 0 / 0.5845 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001614/0.3646, allocations: 0.8734 MB / 0.5853 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3646, allocations: 8 kB / 0.5853 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3646, allocations: 4.5 kB / 0.5853 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.3653, allocations: 227.2 kB / 0.5855 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.3658, allocations: 139.8 kB / 0.5857 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/0.3723, allocations: 6.246 MB / 0.5918 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.3729, allocations: 95.41 kB / 0.5919 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.373, allocations: 36 kB / 0.5919 GB, free: 3.016 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.0005061/0.3735, allocations: 221.5 kB / 0.5921 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.3737, allocations: 43.72 kB / 0.5922 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.375, allocations: 0.6836 MB / 0.5928 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3751, allocations: 8 kB / 0.5928 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3751, allocations: 4 kB / 0.5928 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.3751, allocations: 7.984 kB / 0.5928 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.3777, allocations: 1.463 MB / 0.5943 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3777, allocations: 0 / 0.5943 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.3779, allocations: 71.89 kB / 0.5943 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.3785, allocations: 211.2 kB / 0.5945 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.3785, allocations: 15.98 kB / 0.5946 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/0.3849, allocations: 6.246 MB / 0.6007 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3849, allocations: 0 / 0.6007 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.3866, allocations: 1.194 MB / 0.6018 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3867, allocations: 55.52 kB / 0.6019 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.3868, allocations: 12 kB / 0.6019 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.3871, allocations: 12.38 kB / 0.6019 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3872, allocations: 67.62 kB / 0.602 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.3872, allocations: 23.98 kB / 0.602 GB, free: 8.098 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.3875, allocations: 207.1 kB / 0.6022 GB, free: 7.895 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3875, allocations: 3.938 kB / 0.6022 GB, free: 7.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001009/0.3885, allocations: 279.4 kB / 0.6025 GB, free: 7.617 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.002112/0.3906, allocations: 1.761 MB / 0.6042 GB, free: 5.812 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.3923, allocations: 1.057 MB / 0.6052 GB, free: 4.703 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3923, allocations: 0 / 0.6052 GB, free: 4.703 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.3933, allocations: 0.7609 MB / 0.6059 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.3939, allocations: 48.58 kB / 0.606 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.4012, allocations: 5.133 MB / 0.611 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4016, allocations: 314.6 kB / 0.6113 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.4018, allocations: 72.47 kB / 0.6114 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.4021, allocations: 235.3 kB / 0.6116 GB, free: 13.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4021, allocations: 0 / 0.6116 GB, free: 13.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06914/0.4713, allocations: 12.76 MB / 0.6241 GB, free: 1.207 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.25, allocations: 7.922 kB / 0.6241 GB, free: 1.199 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.090742737054825]