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.0009357/0.0009355, allocations: 93.94 kB / 16.3 MB, free: 6.457 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.0009331/0.0009331, allocations: 184.8 kB / 17.2 MB, free: 6.34 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.438/1.438, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 5.344 kB / 300.8 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 50.42 MB / 351.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002115/0.1137, allocations: 1.692 MB / 352.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000341/0.1141, allocations: 167.5 kB / 353.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.1142, allocations: 4 kB / 353.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.1143, allocations: 23.78 kB / 353.1 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.1144, allocations: 55.88 kB / 353.2 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.1146, allocations: 31.95 kB / 353.2 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1148, allocations: 119.7 kB / 353.3 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.115, allocations: 53.91 kB / 353.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.115, allocations: 55.78 kB / 353.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1152, allocations: 63.7 kB / 353.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.1152, allocations: 8 kB / 353.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.1152, allocations: 8 kB / 353.5 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.1153, allocations: 19.92 kB / 353.5 MB, free: 9.301 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.1153, allocations: 65.52 kB / 353.6 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1155, allocations: 127.7 kB / 353.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1155, allocations: 0 / 353.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1155, allocations: 0 / 353.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1155, allocations: 0 / 353.7 MB, free: 9.105 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.0005203/0.116, allocations: 438.7 kB / 354.1 MB, free: 8.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1161, allocations: 12.03 kB / 354.1 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.1161, allocations: 54.55 kB / 354.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.1162, allocations: 15.81 kB / 354.2 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1164, allocations: 210.8 kB / 354.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1164, allocations: 15.94 kB / 354.4 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.1164, allocations: 23.94 kB / 354.5 MB, free: 8.254 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.1167, allocations: 177.7 kB / 354.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1167, allocations: 4 kB / 354.6 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1167, allocations: 7.953 kB / 354.6 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1168, allocations: 4 kB / 354.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1169, allocations: 99.88 kB / 354.7 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1181, allocations: 0.9701 MB / 355.7 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1182, allocations: 99.81 kB / 355.8 MB, free: 6.766 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1182, allocations: 8 kB / 355.8 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1183, allocations: 38.5 kB / 355.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.1183, allocations: 0 / 355.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002956/0.1186, allocations: 125.5 kB / 356 MB, free: 6.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.1186, allocations: 106.8 kB / 356.1 MB, free: 6.453 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1188, allocations: 199.8 kB / 356.3 MB, free: 6.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1189, allocations: 33.7 kB / 356.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.119, allocations: 139.8 kB / 356.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.1191, allocations: 55.28 kB / 356.5 MB, free: 6.012 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.1191, allocations: 4 kB / 356.5 MB, free: 6.008 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1192, allocations: 330.8 kB / 356.8 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.1193, allocations: 36.45 kB / 356.9 MB, free: 5.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.1196, allocations: 142.6 kB / 357 MB, free: 5.449 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.1197, allocations: 63.94 kB / 357.1 MB, free: 5.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1197, allocations: 0 / 357.1 MB, free: 5.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003119/0.12, allocations: 221 kB / 357.3 MB, free: 5.164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.12, allocations: 4 kB / 357.3 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.12, allocations: 7.938 kB / 357.3 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1201, allocations: 11.98 kB / 357.3 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1202, allocations: 47.92 kB / 357.3 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1202, allocations: 11.94 kB / 357.4 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1204, allocations: 28.09 kB / 357.4 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.1204, allocations: 12 kB / 357.4 MB, free: 5.043 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.0001137/0.1205, allocations: 133.6 kB / 357.5 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.1206, allocations: 24.45 kB / 357.6 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1206, allocations: 20.94 kB / 357.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1206, allocations: 0 / 357.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1206, allocations: 0 / 357.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1207, allocations: 4 kB / 357.6 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1211, allocations: 233.5 kB / 357.8 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1211, allocations: 4 kB / 357.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1212, allocations: 35.98 kB / 357.8 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1213, allocations: 7.938 kB / 357.9 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1213, allocations: 3.938 kB / 357.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1213, allocations: 4 kB / 357.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1213, allocations: 0 / 357.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.1216, allocations: 419.2 kB / 358.3 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.1217, allocations: 92.91 kB / 358.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1218, allocations: 8.062 kB / 358.4 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1219, allocations: 0 / 358.4 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.1219, allocations: 4 kB / 358.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1219, allocations: 7.984 kB / 358.4 MB, free: 3.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1221, allocations: 153.5 kB / 358.5 MB, free: 3.805 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1221, allocations: 0 / 358.5 MB, free: 3.805 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.1224, allocations: 36 kB / 358.6 MB, free: 3.77 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.0007999/0.1233, allocations: 1.074 MB / 359.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1235, allocations: 111.8 kB / 359.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1235, allocations: 4 kB / 359.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.1235, allocations: 31.92 kB / 359.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1239, allocations: 26.53 kB / 359.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.1269, allocations: 3.716 MB / 363.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1272, allocations: 0.7322 MB / 364.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.1273, allocations: 25.94 kB / 364.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.1274, allocations: 47.42 kB / 364.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1274, allocations: 0 / 364.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.1405, allocations: 3.089 MB / 367.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.1407, allocations: 190.7 kB / 367.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.859, allocations: 4.062 kB / 367.6 MB, free: 10.64 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