Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 95.56 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002443, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002122/0.1338, allocations: 1.641 MB / 484.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.1346, allocations: 0.5805 MB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.1347, allocations: 0 / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1349, allocations: 31.84 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.135, allocations: 31.77 kB / 485.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.1352, allocations: 31.97 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1353, allocations: 143.4 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1355, allocations: 53.84 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.1356, allocations: 51.78 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.1357, allocations: 51.72 kB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1357, allocations: 8 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.134e-05/0.1357, allocations: 8 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.1358, allocations: 27.84 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.1359, allocations: 85.38 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.136, allocations: 151.6 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.136, allocations: 0 / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.136, allocations: 0 / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.136, allocations: 0 / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006004/0.1367, allocations: 427.4 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1367, allocations: 12.88 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.1368, allocations: 46.73 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1368, allocations: 16.75 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.137, allocations: 200.1 kB / 486.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1371, allocations: 16.66 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1371, allocations: 12.38 kB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1374, allocations: 155.9 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1374, allocations: 0 / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1374, allocations: 4 kB / 486.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1375, allocations: 4 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.1377, allocations: 116.8 kB / 487.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009629/0.1387, allocations: 0.6261 MB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.139, allocations: 78.56 kB / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1391, allocations: 32.97 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1391, allocations: 3.938 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1391, allocations: 34.56 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1391, allocations: 0 / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003854/0.1395, allocations: 129.5 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1396, allocations: 51.41 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1397, allocations: 158.3 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1397, allocations: 29.64 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.1398, allocations: 135.5 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1398, allocations: 19.73 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1399, allocations: 17.72 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.14, allocations: 322.8 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1401, allocations: 27.98 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1402, allocations: 68.27 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.1405, allocations: 104.2 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1405, allocations: 0 / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002866/0.1408, allocations: 145.4 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1408, allocations: 7.984 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1408, allocations: 4 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1408, allocations: 3.938 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.141, allocations: 27.98 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.141, allocations: 4.125 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1411, allocations: 27.83 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1411, allocations: 0 / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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 8.374e-05/0.1412, allocations: 125.8 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1412, allocations: 7.906 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.1413, allocations: 12.31 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1413, allocations: 3.938 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1413, allocations: 4 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1413, allocations: 3.984 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.1415, allocations: 201.6 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1415, allocations: 3.938 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/0.1416, allocations: 19.98 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1416, allocations: 0 / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1416, allocations: 0 / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.1416, allocations: 7.875 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1416, allocations: 4 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1419, allocations: 199.6 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.142, allocations: 85.08 kB / 489.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.142, allocations: 8 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.1421, allocations: 15.92 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1421, allocations: 4 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1421, allocations: 0 / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.1422, allocations: 118.2 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1422, allocations: 0 / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1425, allocations: 27.84 kB / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0005251/0.143, allocations: 0.724 MB / 490.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1433, allocations: 83.89 kB / 490.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1433, allocations: 0 / 490.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1434, allocations: 35.97 kB / 490.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1437, allocations: 7.125 kB / 490.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.1456, allocations: 1.746 MB / 492.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1459, allocations: 0.7119 MB / 493.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.303e-05/0.1459, allocations: 8.656 kB / 493.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.146, allocations: 35.42 kB / 493.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.146, allocations: 0 / 493.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.1577, allocations: 1.847 MB / 495.1 MB, free: 7.703 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.1579, allocations: 185.6 kB / 495.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.912, allocations: 4 kB / 495.3 MB, free: 7.449 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches