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.0009307/0.0009308, allocations: 95.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 202 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1845/0.1845, allocations: 46.2 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 4 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 63.56 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005208/0.1163, allocations: 4.838 MB / 488 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1189, allocations: 1.616 MB / 489.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1192, allocations: 20 kB / 489.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.1197, allocations: 247 kB / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.1203, allocations: 258.4 kB / 490.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1214, allocations: 0.5061 MB / 490.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007701/0.1221, allocations: 0.7581 MB / 491.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.1246, allocations: 1.405 MB / 492.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.125, allocations: 286.8 kB / 493.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.1255, allocations: 406.2 kB / 493.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.1256, allocations: 40 kB / 493.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.126, allocations: 163.8 kB / 493.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1261, allocations: 135.3 kB / 493.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.1264, allocations: 407.7 kB / 494.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1275, allocations: 1.109 MB / 495.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1275, allocations: 0 / 495.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1275, allocations: 0 / 495.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1275, allocations: 0 / 495.3 MB, free: 7.836 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.003143/0.1307, allocations: 1.202 MB / 496.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1308, allocations: 12.88 kB / 496.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.1309, allocations: 152.4 kB / 496.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.1325, allocations: 251.6 kB / 496.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1328, allocations: 255.8 kB / 497.2 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.1329, allocations: 86.31 kB / 497.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.133, allocations: 99.91 kB / 497.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.1346, allocations: 0.9283 MB / 498.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.1347, allocations: 4 kB / 498.3 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.1348, allocations: 44 kB / 498.3 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.1348, allocations: 27.94 kB / 498.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1361, allocations: 0.7299 MB / 499.1 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005028/0.1411, allocations: 4.122 MB / 0.4914 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.1438, allocations: 3.366 MB / 0.4947 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.1443, allocations: 290.1 kB / 0.495 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.1444, allocations: 182.5 kB / 0.4952 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1445, allocations: 50.81 kB / 0.4952 GB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.625e-06/0.1445, allocations: 0 / 0.4952 GB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002655/0.1471, allocations: 1.345 MB / 0.4965 GB, free: 9.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.1472, allocations: 136.5 kB / 0.4967 GB, free: 9.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.1476, allocations: 322.8 kB / 0.497 GB, free: 8.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1476, allocations: 33.7 kB / 0.497 GB, free: 8.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.1479, allocations: 398.4 kB / 0.4974 GB, free: 8.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.1481, allocations: 232.6 kB / 0.4976 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.1482, allocations: 73.61 kB / 0.4977 GB, free: 8.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1483, allocations: 358.7 kB / 0.498 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.1486, allocations: 197.9 kB / 0.4982 GB, free: 7.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.1491, allocations: 400.6 kB / 0.4986 GB, free: 7.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.1499, allocations: 0.6223 MB / 0.4992 GB, free: 6.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1499, allocations: 8 kB / 0.4992 GB, free: 6.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001393/0.1513, allocations: 0.8859 MB / 0.5001 GB, free: 5.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1514, allocations: 8 kB / 0.5001 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1514, allocations: 12.03 kB / 0.5001 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/0.152, allocations: 223.2 kB / 0.5003 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.1524, allocations: 135.8 kB / 0.5004 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2118/0.3643, allocations: 6.233 MB / 0.5065 GB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.3649, allocations: 88.94 kB / 0.5066 GB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.365, allocations: 37.31 kB / 0.5066 GB, free: 30.45 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.0002942/0.3653, allocations: 222.9 kB / 0.5069 GB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3654, allocations: 46.83 kB / 0.5069 GB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.3666, allocations: 0.684 MB / 0.5076 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.3666, allocations: 7.812 kB / 0.5076 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3666, allocations: 4.25 kB / 0.5076 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3667, allocations: 8.766 kB / 0.5076 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.369, allocations: 1.57 MB / 0.5091 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3691, allocations: 2.609 kB / 0.5091 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.3693, allocations: 64.64 kB / 0.5092 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.3698, allocations: 220.2 kB / 0.5094 GB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.3699, allocations: 12.97 kB / 0.5094 GB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.3738, allocations: 6.242 MB / 0.5155 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3738, allocations: 1.703 kB / 0.5155 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3752, allocations: 1.191 MB / 0.5167 GB, free: 24.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.3753, allocations: 124.3 kB / 0.5168 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.3754, allocations: 21.45 kB / 0.5168 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3757, allocations: 15.36 kB / 0.5168 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.3758, allocations: 52.86 kB / 0.5169 GB, free: 24.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.3758, allocations: 21.94 kB / 0.5169 GB, free: 24.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002311/0.3761, allocations: 216.2 kB / 0.5171 GB, free: 24.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3761, allocations: 0 / 0.5171 GB, free: 24.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009393/0.377, allocations: 271.4 kB / 0.5174 GB, free: 24 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.00161/0.3786, allocations: 1.775 MB / 0.5191 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.3799, allocations: 1.076 MB / 0.5201 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.38, allocations: 2.625 kB / 0.5201 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.3806, allocations: 0.7819 MB / 0.5209 GB, free: 22.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.3814, allocations: 42.12 kB / 0.5209 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.3876, allocations: 5.6 MB / 0.5264 GB, free: 18.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.3881, allocations: 0.9142 MB / 0.5273 GB, free: 17.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.3884, allocations: 66.42 kB / 0.5274 GB, free: 17.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3886, allocations: 229.2 kB / 0.5276 GB, free: 17.33 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3886, allocations: 0 / 0.5276 GB, free: 17.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.4129, allocations: 10.9 MB / 0.5382 GB, free: 14.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.4131, allocations: 251.5 kB / 0.5385 GB, free: 14.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.486, allocations: 0 / 0.5385 GB, free: 14.21 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