Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.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) 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(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",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.0008409/0.0008411, allocations: 88.16 kB / 16.31 MB, free: 5.551 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.0008221/0.0008223, allocations: 182 kB / 17.21 MB, free: 5.469 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.398/1.398, allocations: 223.2 MB / 241.2 MB, free: 5.309 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002742, allocations: 7.344 kB / 300.9 MB, free: 5.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1122, allocations: 50.42 MB / 351.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002403/0.1147, allocations: 1.742 MB / 353.1 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.1151, allocations: 155.5 kB / 353.2 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.1152, allocations: 7.938 kB / 353.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.1153, allocations: 19.84 kB / 353.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.1154, allocations: 43.62 kB / 353.3 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.1155, allocations: 27.97 kB / 353.3 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1157, allocations: 171.2 kB / 353.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1159, allocations: 56.16 kB / 353.5 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.1159, allocations: 51.78 kB / 353.6 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1161, allocations: 63.7 kB / 353.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1161, allocations: 8 kB / 353.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.371e-05/0.1161, allocations: 8 kB / 353.7 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.1162, allocations: 19.92 kB / 353.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.1162, allocations: 61.58 kB / 353.8 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1164, allocations: 131.7 kB / 353.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1164, allocations: 0 / 353.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1164, allocations: 0 / 353.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1164, allocations: 0 / 353.9 MB, free: 8.812 MB / 286.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.0005443/0.1169, allocations: 438.7 kB / 354.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.117, allocations: 12.03 kB / 354.3 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.1171, allocations: 50.55 kB / 354.4 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1171, allocations: 19.81 kB / 354.4 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1173, allocations: 210.8 kB / 354.6 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1174, allocations: 19.88 kB / 354.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.1174, allocations: 16 kB / 354.6 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1177, allocations: 177.7 kB / 354.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1177, allocations: 4 kB / 354.8 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1178, allocations: 15.95 kB / 354.8 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1178, allocations: 4 kB / 354.8 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.118, allocations: 99.88 kB / 354.9 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.1193, allocations: 0.9546 MB / 355.9 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1195, allocations: 103.8 kB / 356 MB, free: 6.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.1196, allocations: 38.58 kB / 356 MB, free: 6.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1196, allocations: 8.078 kB / 356 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1196, allocations: 34.5 kB / 356.1 MB, free: 6.383 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.1196, allocations: 0 / 356.1 MB, free: 6.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003242/0.12, allocations: 133.9 kB / 356.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.12, allocations: 106.8 kB / 356.3 MB, free: 6.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1203, allocations: 211.6 kB / 356.5 MB, free: 5.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1203, allocations: 25.7 kB / 356.5 MB, free: 5.867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1204, allocations: 139.9 kB / 356.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.1205, allocations: 55.28 kB / 356.7 MB, free: 5.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.1205, allocations: 4 kB / 356.7 MB, free: 5.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1207, allocations: 322.8 kB / 357 MB, free: 5.344 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.1207, allocations: 40.39 kB / 357.1 MB, free: 5.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1209, allocations: 146.6 kB / 357.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.121, allocations: 63.92 kB / 357.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.121, allocations: 0 / 357.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003067/0.1213, allocations: 221 kB / 357.5 MB, free: 4.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1213, allocations: 4 kB / 357.5 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1214, allocations: 4 kB / 357.5 MB, free: 4.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.1214, allocations: 8 kB / 357.5 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1216, allocations: 51.92 kB / 357.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/0.1216, allocations: 16.33 kB / 357.6 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1217, allocations: 27.69 kB / 357.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1217, allocations: 12 kB / 357.6 MB, free: 4.703 MB / 286.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 0.0001226/0.1219, allocations: 133.6 kB / 357.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1219, allocations: 23.77 kB / 357.8 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.122, allocations: 20.92 kB / 357.8 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.122, allocations: 0 / 357.8 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.122, allocations: 4 kB / 357.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.122, allocations: 0 / 357.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.1225, allocations: 241.5 kB / 358 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1225, allocations: 4 kB / 358 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1226, allocations: 27.98 kB / 358.1 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1226, allocations: 7.891 kB / 358.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1226, allocations: 8 kB / 358.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1227, allocations: 3.938 kB / 358.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1227, allocations: 0 / 358.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.123, allocations: 385.7 kB / 358.5 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1231, allocations: 92.92 kB / 358.6 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1231, allocations: 8.016 kB / 358.6 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1233, allocations: 0 / 358.6 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.1233, allocations: 15.98 kB / 358.6 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.1233, allocations: 4.125 kB / 358.6 MB, free: 3.645 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1234, allocations: 149.5 kB / 358.7 MB, free: 3.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1234, allocations: 0 / 358.7 MB, free: 3.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000347/0.1238, allocations: 36 kB / 358.8 MB, free: 3.465 MB / 286.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.0005471/0.1243, allocations: 0.9255 MB / 359.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1245, allocations: 112.3 kB / 359.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1245, allocations: 0 / 359.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.1246, allocations: 31.92 kB / 359.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.1251, allocations: 24 kB / 359.9 MB, free: 2.344 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1272, allocations: 1.462 MB / 361.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1276, allocations: 0.7206 MB / 362 MB, free: 48 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.915e-05/0.1277, allocations: 17.95 kB / 362.1 MB, free: 28 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1278, allocations: 55.41 kB / 362.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.295e-06/0.1278, allocations: 3.938 kB / 362.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.1429, allocations: 3.107 MB / 365.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003739/0.1434, allocations: 196.1 kB / 365.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.864, allocations: 3.875 kB / 365.4 MB, free: 12.77 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat