Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.00142, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 82.3 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 62.43 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004572/0.1187, allocations: 2.532 MB / 481.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1207, allocations: 1.086 MB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1209, allocations: 8 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1223, allocations: 478 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.1229, allocations: 91.5 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.124, allocations: 478.5 kB / 484 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.1243, allocations: 207 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.1249, allocations: 234.9 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.1251, allocations: 91.64 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1253, allocations: 123.5 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.1253, allocations: 20 kB / 484.7 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.1257, allocations: 151.9 kB / 484.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.1258, allocations: 43.83 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1259, allocations: 107.4 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.1264, allocations: 399 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1264, allocations: 0 / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1264, allocations: 0 / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1264, allocations: 0 / 485.4 MB, free: 15.63 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001281/0.1277, allocations: 0.6204 MB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1278, allocations: 8.875 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.1278, allocations: 58.73 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.1282, allocations: 52.62 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1283, allocations: 196 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1283, allocations: 16.94 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1284, allocations: 24.38 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/0.129, allocations: 295.5 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.129, allocations: 3.938 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.129, allocations: 12 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.129, allocations: 8 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.1296, allocations: 233.5 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.1311, allocations: 1.001 MB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.1316, allocations: 371.2 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.1319, allocations: 137.7 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.1321, allocations: 166.2 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1321, allocations: 38.5 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.1321, allocations: 4 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001168/0.1333, allocations: 0.4999 MB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1334, allocations: 77.11 kB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1335, allocations: 144.4 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1335, allocations: 29.7 kB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.1336, allocations: 140.2 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.1337, allocations: 70.94 kB / 489.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.1338, allocations: 37.72 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1339, allocations: 326.9 kB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1341, allocations: 75.88 kB / 490 MB, free: 10.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1343, allocations: 125.8 kB / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.1348, allocations: 201.1 kB / 490.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1348, allocations: 0 / 490.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006032/0.1354, allocations: 282.8 kB / 490.6 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1354, allocations: 8 kB / 490.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1354, allocations: 0 / 490.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.1356, allocations: 53.64 kB / 490.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.1358, allocations: 47.95 kB / 490.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.1376, allocations: 2.636 MB / 493.3 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.1377, allocations: 31.8 kB / 493.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1378, allocations: 4 kB / 493.3 MB, free: 6.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.1379, allocations: 141.8 kB / 493.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.138, allocations: 19.75 kB / 493.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.1386, allocations: 268.4 kB / 493.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1386, allocations: 0 / 493.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1386, allocations: 7.938 kB / 493.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1386, allocations: 0 / 493.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.1397, allocations: 0.642 MB / 494.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1397, allocations: 0 / 494.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.1398, allocations: 40.03 kB / 494.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.14, allocations: 49.64 kB / 494.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.14, allocations: 3.984 kB / 494.5 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.1418, allocations: 2.646 MB / 497.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1419, allocations: 0 / 497.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009265/0.1428, allocations: 0.5252 MB / 497.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1429, allocations: 88.95 kB / 497.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1429, allocations: 8 kB / 497.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1431, allocations: 19.91 kB / 497.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.1432, allocations: 15.98 kB / 497.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1432, allocations: 4 kB / 497.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1433, allocations: 113.8 kB / 497.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1433, allocations: 8.062 kB / 497.9 MB, free: 1.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004721/0.1438, allocations: 71.78 kB / 498 MB, free: 1.887 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.1453, allocations: 1.083 MB / 499.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007706/0.146, allocations: 412.6 kB / 499.5 MB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1461, allocations: 4 kB / 499.5 MB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.1465, allocations: 329.1 kB / 499.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.1469, allocations: 19.88 kB / 499.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.15, allocations: 2.426 MB / 0.4905 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1503, allocations: 0.7399 MB / 0.4912 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.636e-05/0.1504, allocations: 17.42 kB / 0.4912 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.1505, allocations: 55.42 kB / 0.4913 GB, free: 12.56 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1505, allocations: 0 / 0.4913 GB, free: 12.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.1651, allocations: 4.028 MB / 0.4952 GB, free: 8.695 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.1653, allocations: 237.2 kB / 0.4954 GB, free: 8.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.069, allocations: 0 / 0.4954 GB, free: 8.445 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches