Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.11 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 76.3 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 62.46 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004026/0.1139, allocations: 2.686 MB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1152, allocations: 0.7792 MB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.1155, allocations: 8 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1157, allocations: 75.31 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1161, allocations: 115 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1164, allocations: 99.86 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.1168, allocations: 414.6 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.1171, allocations: 143.2 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1173, allocations: 151.4 kB / 484.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1175, allocations: 167.2 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.1176, allocations: 36 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.1176, allocations: 32 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.1177, allocations: 75.69 kB / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1179, allocations: 187 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.1183, allocations: 422.4 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1183, allocations: 0 / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1183, allocations: 3.984 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1183, allocations: 0 / 485.5 MB, free: 15.77 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001047/0.1193, allocations: 0.6706 MB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1194, allocations: 8.031 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.194e-05/0.1195, allocations: 70.72 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.1196, allocations: 48.36 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1198, allocations: 270.6 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1199, allocations: 29.38 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.1199, allocations: 36.36 kB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.1206, allocations: 370 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1206, allocations: 0 / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.1206, allocations: 16 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1206, allocations: 8 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.1213, allocations: 263 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.1232, allocations: 1.354 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.1237, allocations: 194.6 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.124, allocations: 91.38 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.124, allocations: 8 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.124, allocations: 38.55 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.124, allocations: 0 / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.000826/0.1249, allocations: 253.5 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.125, allocations: 136.5 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.1253, allocations: 333.6 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1253, allocations: 29.7 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1255, allocations: 243.6 kB / 489.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.1255, allocations: 59.19 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.1256, allocations: 49.98 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1257, allocations: 346.8 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.126, allocations: 76.5 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1262, allocations: 176.9 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.1268, allocations: 250.9 kB / 490.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1268, allocations: 8 kB / 490.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006485/0.1274, allocations: 301.2 kB / 491.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1275, allocations: 4 kB / 491.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1275, allocations: 4 kB / 491.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1275, allocations: 8.297 kB / 491.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.1279, allocations: 91.86 kB / 491.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1279, allocations: 15.92 kB / 491.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.1282, allocations: 43.58 kB / 491.3 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.1282, allocations: 12 kB / 491.3 MB, free: 9.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.1284, allocations: 153.7 kB / 491.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.1285, allocations: 35.62 kB / 491.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.1285, allocations: 34.39 kB / 491.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1286, allocations: 4 kB / 491.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1286, allocations: 0 / 491.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1286, allocations: 0 / 491.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.1293, allocations: 0.5915 MB / 492.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1293, allocations: 0 / 492.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.1296, allocations: 55.94 kB / 492.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1296, allocations: 0 / 492.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1296, allocations: 11.94 kB / 492.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1296, allocations: 12.06 kB / 492.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1296, allocations: 4 kB / 492.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.1302, allocations: 405.9 kB / 492.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.1303, allocations: 108.7 kB / 492.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.1303, allocations: 7.938 kB / 492.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.1306, allocations: 15.98 kB / 492.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.1306, allocations: 11.98 kB / 492.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1306, allocations: 11.94 kB / 492.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.1309, allocations: 243.2 kB / 493 MB, free: 7.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 493 MB, free: 7.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1313, allocations: 75.75 kB / 493.1 MB, free: 7.621 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007852/0.132, allocations: 0.9185 MB / 494 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.1326, allocations: 207.6 kB / 494.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1326, allocations: 0 / 494.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.1329, allocations: 80.7 kB / 494.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.1333, allocations: 29.42 kB / 494.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.1372, allocations: 2.991 MB / 497.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1375, allocations: 0.7792 MB / 498.1 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1376, allocations: 26.11 kB / 498.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.1378, allocations: 103.4 kB / 498.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1378, allocations: 4 kB / 498.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.1603, allocations: 4.84 MB / 0.4913 GB, free: 13.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.854, allocations: 9.016 kB / 0.4913 GB, free: 13.45 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches