Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.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) 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(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 92.48 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002474, allocations: 8 kB / 306.7 MB, free: 1.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.123, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002214/0.1253, allocations: 1.694 MB / 359.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.1257, allocations: 175.4 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.1258, allocations: 0 / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.563e-05/0.1258, allocations: 23.84 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.126, allocations: 51.83 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1262, allocations: 39.89 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1265, allocations: 123.7 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.1266, allocations: 61.55 kB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.1267, allocations: 59.78 kB / 360.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1268, allocations: 59.7 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1269, allocations: 8 kB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.442e-05/0.1269, allocations: 8 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.1269, allocations: 27.86 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.127, allocations: 53.64 kB / 360.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1272, allocations: 139.8 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1272, allocations: 0 / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.1272, allocations: 0 / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1272, allocations: 0 / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005728/0.1278, allocations: 431.5 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1279, allocations: 12.03 kB / 361.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.1279, allocations: 50.55 kB / 361.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.128, allocations: 15.81 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.1283, allocations: 210.8 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1283, allocations: 19.94 kB / 361.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.1283, allocations: 16 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.1286, allocations: 181.6 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1287, allocations: 3.906 kB / 361.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1287, allocations: 16 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.1287, allocations: 4 kB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1289, allocations: 91.88 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.1302, allocations: 0.9586 MB / 362.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1304, allocations: 99.94 kB / 362.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1304, allocations: 7.984 kB / 362.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1304, allocations: 30.56 kB / 362.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.1304, allocations: 4 kB / 362.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002885/0.1307, allocations: 129.8 kB / 363 MB, free: 8.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1308, allocations: 102.8 kB / 363.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.131, allocations: 203.8 kB / 363.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.131, allocations: 33.64 kB / 363.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1311, allocations: 139.9 kB / 363.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.1312, allocations: 59.17 kB / 363.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1312, allocations: 0 / 363.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1313, allocations: 330.8 kB / 363.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.1314, allocations: 36.45 kB / 363.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1315, allocations: 146.6 kB / 364 MB, free: 7.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.662e-05/0.1316, allocations: 60.06 kB / 364 MB, free: 7.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1316, allocations: 0 / 364 MB, free: 7.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002767/0.1319, allocations: 221.2 kB / 364.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1319, allocations: 4 kB / 364.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.132, allocations: 4 kB / 364.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-05/0.132, allocations: 8 kB / 364.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1322, allocations: 43.92 kB / 364.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1322, allocations: 11.98 kB / 364.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1323, allocations: 27.69 kB / 364.4 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1323, allocations: 15.94 kB / 364.4 MB, free: 7.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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 9.359e-05/0.1324, allocations: 141.8 kB / 364.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.1325, allocations: 19.81 kB / 364.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1325, allocations: 20.92 kB / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1326, allocations: 0 / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1326, allocations: 4 kB / 364.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1326, allocations: 3.938 kB / 364.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.133, allocations: 241.5 kB / 364.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.133, allocations: 0 / 364.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1332, allocations: 27.98 kB / 364.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1332, allocations: 4 kB / 364.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1332, allocations: 8 kB / 364.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1332, allocations: 4 kB / 364.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1332, allocations: 0 / 364.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1336, allocations: 413.1 kB / 365.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1336, allocations: 101 kB / 365.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1337, allocations: 0 / 365.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1338, allocations: 8 kB / 365.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.1339, allocations: 11.94 kB / 365.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1339, allocations: 0 / 365.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.134, allocations: 149.5 kB / 365.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1341, allocations: 0 / 365.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.1344, allocations: 43.94 kB / 365.5 MB, free: 5.945 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.0006382/0.1351, allocations: 1.078 MB / 366.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1353, allocations: 111.8 kB / 366.7 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1353, allocations: 4 kB / 366.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.1353, allocations: 35.92 kB / 366.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1357, allocations: 22.48 kB / 366.8 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.1384, allocations: 3.708 MB / 370.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1387, allocations: 0.7323 MB / 371.2 MB, free: 84 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.1388, allocations: 21.95 kB / 371.3 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.1389, allocations: 47.42 kB / 371.3 MB, free: 16 kB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1389, allocations: 3.938 kB / 371.3 MB, free: 12 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2142/0.3532, allocations: 3.083 MB / 374.4 MB, free: 18.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.3534, allocations: 199.7 kB / 374.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.269, allocations: 3.625 kB / 374.6 MB, free: 18.59 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat