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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.06 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.1003, allocations: 62.45 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006038/0.1063, allocations: 5.324 MB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.109, allocations: 1.639 MB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.1094, allocations: 20 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003188/0.1126, allocations: 1.602 MB / 488.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008625/0.1135, allocations: 305.7 kB / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1145, allocations: 0.5142 MB / 489.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008794/0.1154, allocations: 0.7932 MB / 490.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1165, allocations: 0.7292 MB / 491.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.117, allocations: 350.7 kB / 491.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.1176, allocations: 458.2 kB / 491.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1177, allocations: 79.94 kB / 491.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1182, allocations: 191.9 kB / 492.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1183, allocations: 179.4 kB / 492.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.1187, allocations: 425.8 kB / 492.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.1197, allocations: 1.16 MB / 493.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1198, allocations: 0 / 493.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1198, allocations: 0 / 493.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1198, allocations: 0 / 493.9 MB, free: 7.359 MB / 366.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.00303/0.1228, allocations: 1.362 MB / 495.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1229, allocations: 8.031 kB / 495.2 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.123, allocations: 148.4 kB / 495.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.1246, allocations: 235.8 kB / 495.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1248, allocations: 267.3 kB / 495.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.125, allocations: 90.23 kB / 496 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.1251, allocations: 99.91 kB / 496.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1266, allocations: 0.936 MB / 497 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.1267, allocations: 0 / 497 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.1268, allocations: 40 kB / 497 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.1268, allocations: 27.98 kB / 497.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1281, allocations: 0.7299 MB / 497.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.1331, allocations: 4.103 MB / 0.4901 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.1356, allocations: 3.382 MB / 0.4934 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.136, allocations: 292.7 kB / 0.4937 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.1361, allocations: 174.5 kB / 0.4939 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1362, allocations: 46.88 kB / 0.4939 GB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.577e-06/0.1362, allocations: 4 kB / 0.4939 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002493/0.1387, allocations: 1.318 MB / 0.4952 GB, free: 8.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.1387, allocations: 136.5 kB / 0.4953 GB, free: 8.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.1391, allocations: 322.7 kB / 0.4956 GB, free: 8.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.1391, allocations: 33.7 kB / 0.4957 GB, free: 8.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.1393, allocations: 398.4 kB / 0.4961 GB, free: 7.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.1395, allocations: 236.6 kB / 0.4963 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.1397, allocations: 146.6 kB / 0.4964 GB, free: 7.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1398, allocations: 354.7 kB / 0.4968 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.1402, allocations: 197.9 kB / 0.497 GB, free: 6.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.1406, allocations: 400.6 kB / 0.4973 GB, free: 6.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.1414, allocations: 0.6258 MB / 0.4979 GB, free: 5.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1414, allocations: 4 kB / 0.498 GB, free: 5.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001373/0.1428, allocations: 0.8776 MB / 0.4988 GB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1428, allocations: 12.06 kB / 0.4988 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1428, allocations: 4 kB / 0.4988 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.1434, allocations: 235.2 kB / 0.499 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.1439, allocations: 147.8 kB / 0.4992 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1793/0.3232, allocations: 6.684 MB / 0.5057 GB, free: 38.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.3237, allocations: 91.31 kB / 0.5058 GB, free: 38.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.3238, allocations: 36.39 kB / 0.5058 GB, free: 38.31 MB / 382.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.0002754/0.3241, allocations: 223.3 kB / 0.506 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.3242, allocations: 40.69 kB / 0.5061 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.3254, allocations: 0.6922 MB / 0.5068 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3254, allocations: 13.45 kB / 0.5068 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3254, allocations: 4.938 kB / 0.5068 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3254, allocations: 4.641 kB / 0.5068 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.3275, allocations: 1.568 MB / 0.5083 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3275, allocations: 0 / 0.5083 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3278, allocations: 65.91 kB / 0.5084 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.3282, allocations: 218.9 kB / 0.5086 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.3283, allocations: 19.53 kB / 0.5086 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/0.332, allocations: 6.702 MB / 0.5152 GB, free: 31.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.332, allocations: 3.938 kB / 0.5152 GB, free: 31.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3333, allocations: 1.184 MB / 0.5163 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.3334, allocations: 129.5 kB / 0.5164 GB, free: 30.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.3334, allocations: 19.2 kB / 0.5165 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.3338, allocations: 15.02 kB / 0.5165 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.3338, allocations: 60 kB / 0.5165 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.3339, allocations: 17.75 kB / 0.5165 GB, free: 30.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3341, allocations: 212.2 kB / 0.5167 GB, free: 30.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3341, allocations: 0 / 0.5167 GB, free: 30.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008609/0.335, allocations: 273.4 kB / 0.517 GB, free: 30.06 MB / 382.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.001479/0.3364, allocations: 1.779 MB / 0.5187 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.3378, allocations: 1.095 MB / 0.5198 GB, free: 28.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3379, allocations: 4.062 kB / 0.5198 GB, free: 28.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.3385, allocations: 0.7807 MB / 0.5206 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.3392, allocations: 43.58 kB / 0.5206 GB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.3451, allocations: 5.185 MB / 0.5257 GB, free: 23.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3456, allocations: 0.9099 MB / 0.5266 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.3459, allocations: 63.66 kB / 0.5266 GB, free: 23.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3461, allocations: 228.9 kB / 0.5269 GB, free: 23.08 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3461, allocations: 1.062 kB / 0.5269 GB, free: 23.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.3823, allocations: 11.48 MB / 0.5381 GB, free: 19.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.452/9.834, allocations: 15.31 kB / 0.5381 GB, free: 19.2 MB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches