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.001013/0.001013, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000933/0.000933, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 76.61 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09756, allocations: 62.44 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006108/0.1037, allocations: 5.305 MB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1062, allocations: 1.623 MB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.1067, allocations: 16 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.1098, allocations: 1.506 MB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007944/0.1106, allocations: 262.3 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.1116, allocations: 486.4 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008916/0.1125, allocations: 0.801 MB / 489.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.1136, allocations: 0.8342 MB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.1141, allocations: 342.7 kB / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.1146, allocations: 462.2 kB / 491.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.1148, allocations: 75.94 kB / 491.3 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.1151, allocations: 199.8 kB / 491.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1153, allocations: 175.4 kB / 491.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.1157, allocations: 433.9 kB / 492.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1167, allocations: 1.148 MB / 493.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1167, allocations: 8 kB / 493.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1167, allocations: 0 / 493.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.1168, allocations: 4 kB / 493.2 MB, free: 7.824 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.003135/0.1199, allocations: 1.346 MB / 494.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1199, allocations: 12.03 kB / 494.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.1201, allocations: 156.4 kB / 494.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.1216, allocations: 235.8 kB / 495 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1218, allocations: 271 kB / 495.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.122, allocations: 82.31 kB / 495.3 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1221, allocations: 99.91 kB / 495.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.1235, allocations: 0.9321 MB / 496.3 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.1236, allocations: 4 kB / 496.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.1236, allocations: 40 kB / 496.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1237, allocations: 24 kB / 496.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1248, allocations: 0.726 MB / 497.1 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/0.1292, allocations: 4.114 MB / 0.4895 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.1316, allocations: 3.372 MB / 0.4928 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.132, allocations: 298.1 kB / 0.4931 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.1321, allocations: 170.5 kB / 0.4932 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1322, allocations: 42.83 kB / 0.4933 GB, free: 10.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.064e-06/0.1322, allocations: 0 / 0.4933 GB, free: 10.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002508/0.1347, allocations: 1.335 MB / 0.4946 GB, free: 9.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.1348, allocations: 136.5 kB / 0.4947 GB, free: 9.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.1351, allocations: 314.8 kB / 0.495 GB, free: 8.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.1352, allocations: 37.7 kB / 0.495 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1354, allocations: 394.4 kB / 0.4954 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1356, allocations: 236.6 kB / 0.4956 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.1358, allocations: 142.6 kB / 0.4958 GB, free: 8.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1359, allocations: 362.7 kB / 0.4961 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.1362, allocations: 193.9 kB / 0.4963 GB, free: 7.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.1367, allocations: 404.6 kB / 0.4967 GB, free: 6.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.1375, allocations: 0.6184 MB / 0.4973 GB, free: 6.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1375, allocations: 0 / 0.4973 GB, free: 6.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001396/0.1389, allocations: 0.8894 MB / 0.4982 GB, free: 5.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1389, allocations: 10.5 kB / 0.4982 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1389, allocations: 8 kB / 0.4982 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.1395, allocations: 231.6 kB / 0.4984 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.14, allocations: 135.8 kB / 0.4985 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1738/0.3138, allocations: 6.709 MB / 0.5051 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.3144, allocations: 87.7 kB / 0.5052 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.3144, allocations: 37.28 kB / 0.5052 GB, free: 38.51 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.0002701/0.3147, allocations: 223.6 kB / 0.5054 GB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3148, allocations: 40.62 kB / 0.5055 GB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.316, allocations: 0.6891 MB / 0.5061 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.316, allocations: 6.875 kB / 0.5061 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.316, allocations: 12.22 kB / 0.5062 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.316, allocations: 4.766 kB / 0.5062 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.318, allocations: 1.57 MB / 0.5077 GB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.318, allocations: 1.219 kB / 0.5077 GB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.3183, allocations: 65.22 kB / 0.5078 GB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.3187, allocations: 214 kB / 0.508 GB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3188, allocations: 20.39 kB / 0.508 GB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/0.3226, allocations: 6.699 MB / 0.5145 GB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3226, allocations: 6.625 kB / 0.5145 GB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3238, allocations: 1.181 MB / 0.5157 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3239, allocations: 135.7 kB / 0.5158 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.324, allocations: 13.19 kB / 0.5158 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.3243, allocations: 17.83 kB / 0.5158 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.3244, allocations: 54.3 kB / 0.5159 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.3244, allocations: 17.22 kB / 0.5159 GB, free: 30.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.3246, allocations: 216.1 kB / 0.5161 GB, free: 30.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3246, allocations: 0 / 0.5161 GB, free: 30.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008426/0.3255, allocations: 275.5 kB / 0.5164 GB, free: 30.38 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.001505/0.327, allocations: 1.769 MB / 0.5181 GB, free: 29.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.3283, allocations: 1.091 MB / 0.5192 GB, free: 28.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3283, allocations: 1.125 kB / 0.5192 GB, free: 28.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006423/0.3289, allocations: 0.7801 MB / 0.5199 GB, free: 27.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.3296, allocations: 44.98 kB / 0.52 GB, free: 27.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/0.3353, allocations: 5.548 MB / 0.5254 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3357, allocations: 0.9095 MB / 0.5263 GB, free: 23.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.336, allocations: 67.7 kB / 0.5263 GB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.3362, allocations: 229.1 kB / 0.5266 GB, free: 23.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3362, allocations: 0 / 0.5266 GB, free: 23.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4645/0.8008, allocations: 11.44 MB / 0.5377 GB, free: 19.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.801, allocations: 245.2 kB / 0.538 GB, free: 19.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.047, allocations: 2.812 kB / 0.538 GB, free: 19.09 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