Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002579/0.002585, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 87.7 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.56/0.56, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004335/0.1391, allocations: 2.393 MB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1413, allocations: 0.7573 MB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.1417, allocations: 11.94 kB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1418, allocations: 35.69 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.1423, allocations: 115.6 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.1428, allocations: 91.81 kB / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.1436, allocations: 303.6 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.144, allocations: 134.4 kB / 494.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.1444, allocations: 151.5 kB / 494.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.1448, allocations: 175.2 kB / 494.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.1448, allocations: 20 kB / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.331e-05/0.145, allocations: 20 kB / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1451, allocations: 67.73 kB / 494.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1452, allocations: 85.52 kB / 494.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.1458, allocations: 343 kB / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1458, allocations: 4 kB / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1458, allocations: 0 / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1458, allocations: 0 / 495 MB, free: 6.422 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002074/0.1479, allocations: 0.6395 MB / 495.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.148, allocations: 12.03 kB / 495.6 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.1482, allocations: 74.53 kB / 495.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1483, allocations: 43.53 kB / 495.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.1489, allocations: 278.3 kB / 496 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/0.1489, allocations: 36.89 kB / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.1491, allocations: 36 kB / 496.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1502, allocations: 346.5 kB / 496.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.1503, allocations: 0 / 496.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.1504, allocations: 16 kB / 496.5 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.1504, allocations: 8 kB / 496.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1516, allocations: 307.8 kB / 496.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/0.1556, allocations: 1.353 MB / 498.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.1566, allocations: 273 kB / 498.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.1567, allocations: 12.17 kB / 498.4 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.1567, allocations: 38.84 kB / 498.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.507e-06/0.1567, allocations: 0 / 498.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001525/0.1583, allocations: 391 kB / 498.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.1584, allocations: 59.41 kB / 498.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.1588, allocations: 262.7 kB / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.1589, allocations: 29.7 kB / 499.2 MB, free: 2.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1592, allocations: 254.3 kB / 499.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.1593, allocations: 122.3 kB / 499.5 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1594, allocations: 8 kB / 499.5 MB, free: 1.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1596, allocations: 326.8 kB / 499.9 MB, free: 1.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.16, allocations: 112.8 kB / 500 MB, free: 1.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.1606, allocations: 175.4 kB / 0.4884 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.1611, allocations: 133.5 kB / 0.4885 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.1611, allocations: 0 / 0.4885 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001195/0.1623, allocations: 359.1 kB / 0.4889 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.1624, allocations: 7.953 kB / 0.4889 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1624, allocations: 4 kB / 0.4889 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.1625, allocations: 4 kB / 0.4889 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/0.1634, allocations: 104 kB / 0.489 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.1634, allocations: 7.938 kB / 0.489 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.164, allocations: 51.52 kB / 0.4891 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.164, allocations: 15.98 kB / 0.4891 GB, free: 320 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0002695/0.1643, allocations: 149.8 kB / 0.4892 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.1644, allocations: 31.62 kB / 0.4892 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.395/0.5594, allocations: 329.6 kB / 0.4896 GB, free: 42.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5595, allocations: 5.781 kB / 0.4896 GB, free: 42.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5595, allocations: 0 / 0.4896 GB, free: 42.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5595, allocations: 1.922 kB / 0.4896 GB, free: 42.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.5603, allocations: 401.3 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5604, allocations: 3.469 kB / 0.4899 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.5613, allocations: 87.98 kB / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5613, allocations: 1.156 kB / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.5614, allocations: 7.609 kB / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.5614, allocations: 6.328 kB / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5614, allocations: 0 / 0.49 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.563, allocations: 0.5271 MB / 0.4906 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5632, allocations: 126.4 kB / 0.4907 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.5633, allocations: 9.656 kB / 0.4907 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.5637, allocations: 17.89 kB / 0.4907 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5638, allocations: 21.62 kB / 0.4907 GB, free: 42.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.5639, allocations: 12.67 kB / 0.4907 GB, free: 42.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.5642, allocations: 191.3 kB / 0.4909 GB, free: 42.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5642, allocations: 0 / 0.4909 GB, free: 42.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005582/0.5648, allocations: 93.23 kB / 0.491 GB, free: 42.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.001961/0.5668, allocations: 1.069 MB / 0.4921 GB, free: 41.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.5679, allocations: 293.8 kB / 0.4923 GB, free: 41.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5679, allocations: 0 / 0.4923 GB, free: 41.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.5684, allocations: 143.6 kB / 0.4925 GB, free: 41.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.5689, allocations: 29.7 kB / 0.4925 GB, free: 41.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/0.5746, allocations: 3.114 MB / 0.4955 GB, free: 39.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.575, allocations: 0.7966 MB / 0.4963 GB, free: 39.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.5754, allocations: 114 kB / 0.4964 GB, free: 39.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5754, allocations: 0 / 0.4964 GB, free: 39.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/3.318, allocations: 5.186 MB / 0.5015 GB, free: 38.77 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat