Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009718/0.0009718, allocations: 96.92 kB / 17 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 177.7 kB / 17.88 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.23 MB / 337.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 11.98 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002269/0.1257, allocations: 1.57 MB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.1265, allocations: 0.5224 MB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.1266, allocations: 8 kB / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1268, allocations: 19.86 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1269, allocations: 27.77 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.1271, allocations: 27.97 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1273, allocations: 139.4 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1274, allocations: 45.77 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1275, allocations: 51.8 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.1276, allocations: 51.77 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1277, allocations: 12 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.016e-05/0.1277, allocations: 8 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.1277, allocations: 15.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.1278, allocations: 53.58 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1279, allocations: 123.9 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1279, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1279, allocations: 0 / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1279, allocations: 0 / 474.3 MB, free: 10.95 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.0006304/0.1286, allocations: 423.2 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1286, allocations: 12.03 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.558e-05/0.1287, allocations: 46.55 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1287, allocations: 15.81 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1289, allocations: 202.8 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.129, allocations: 12.23 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.129, allocations: 16 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1293, allocations: 139.8 kB / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1294, allocations: 0 / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1294, allocations: 8 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1294, allocations: 4 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.1297, allocations: 116.8 kB / 475.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/0.1307, allocations: 0.6263 MB / 475.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1309, allocations: 78.45 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.131, allocations: 37 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1311, allocations: 4 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1311, allocations: 30.56 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.1311, allocations: 0 / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003773/0.1315, allocations: 125.5 kB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1315, allocations: 51.41 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1317, allocations: 150.3 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1317, allocations: 29.7 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.1318, allocations: 131.4 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1318, allocations: 31.67 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1318, allocations: 0 / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.132, allocations: 322.8 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1321, allocations: 35.98 kB / 476.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1322, allocations: 68.27 kB / 477 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1324, allocations: 35.98 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1324, allocations: 0 / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002947/0.1327, allocations: 149.3 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1327, allocations: 8 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1327, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1327, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1329, allocations: 36.09 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1329, allocations: 8.062 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.133, allocations: 11.91 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.133, allocations: 4 kB / 477.2 MB, free: 7.762 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.1332, allocations: 130.2 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.1332, allocations: 11.89 kB / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.1333, allocations: 16.31 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1333, allocations: 0 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1333, allocations: 0 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1333, allocations: 3.938 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.1335, allocations: 209.6 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1335, allocations: 0 / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.1336, allocations: 19.98 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1336, allocations: 0 / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1337, allocations: 4 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1337, allocations: 4.25 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1337, allocations: 4 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.134, allocations: 199.3 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.1341, allocations: 81.02 kB / 477.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1341, allocations: 4 kB / 477.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.1342, allocations: 15.98 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.1342, allocations: 7.984 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1343, allocations: 0 / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.89e-05/0.1343, allocations: 105.3 kB / 478 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 478 MB, free: 6.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1346, allocations: 31.84 kB / 478.1 MB, free: 6.844 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006576/0.1353, allocations: 0.7318 MB / 478.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1356, allocations: 79.89 kB / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1356, allocations: 0 / 478.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.1357, allocations: 32.23 kB / 478.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.136, allocations: 8 kB / 478.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1373, allocations: 0.7693 MB / 479.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1377, allocations: 0.7079 MB / 480.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.1377, allocations: 12.59 kB / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.1378, allocations: 39.42 kB / 480.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1378, allocations: 0 / 480.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.15, allocations: 1.809 MB / 482.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.1502, allocations: 183.8 kB / 482.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2, allocations: 0 / 482.4 MB, free: 2.406 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat