Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_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.0009241/0.0009242, allocations: 93.55 kB / 16.95 MB, free: 6.043 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.001025/0.001025, allocations: 179.5 kB / 17.84 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004641, allocations: 11.94 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002185/0.1125, allocations: 1.737 MB / 330.2 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.1128, allocations: 155.3 kB / 330.3 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.1129, allocations: 8 kB / 330.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.113, allocations: 23.84 kB / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.1131, allocations: 39.62 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.1133, allocations: 31.97 kB / 330.4 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1135, allocations: 163.2 kB / 330.6 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1136, allocations: 57.95 kB / 330.7 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.1137, allocations: 51.8 kB / 330.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1139, allocations: 63.7 kB / 330.8 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1139, allocations: 8 kB / 330.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.1139, allocations: 4 kB / 330.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.114, allocations: 31.86 kB / 330.8 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.114, allocations: 53.64 kB / 330.9 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1142, allocations: 127.9 kB / 331 MB, free: 1.426 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.1142, allocations: 4 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1142, allocations: 0 / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1142, allocations: 0 / 331 MB, free: 1.422 MB / 270.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.0006443/0.1149, allocations: 446.5 kB / 331.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1149, allocations: 12.03 kB / 331.4 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.115, allocations: 46.55 kB / 331.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1151, allocations: 19.81 kB / 331.5 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1153, allocations: 218.7 kB / 331.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1154, allocations: 12 kB / 331.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.1154, allocations: 20 kB / 331.7 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.1157, allocations: 177.6 kB / 331.9 MB, free: 380 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1157, allocations: 4 kB / 331.9 MB, free: 376 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1158, allocations: 12 kB / 331.9 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1158, allocations: 4 kB / 331.9 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.116, allocations: 99.88 kB / 332 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.1171, allocations: 0.9587 MB / 333 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1173, allocations: 95.89 kB / 333.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1173, allocations: 42.52 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1174, allocations: 4 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1174, allocations: 38.64 kB / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.1174, allocations: 3.938 kB / 333.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003005/0.1177, allocations: 125.9 kB / 333.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1178, allocations: 114.7 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.118, allocations: 207.7 kB / 333.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.118, allocations: 33.69 kB / 333.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.1181, allocations: 135.9 kB / 333.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1182, allocations: 51.34 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.1182, allocations: 4 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1183, allocations: 330.8 kB / 334.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.1184, allocations: 36.45 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1185, allocations: 142.6 kB / 334.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.298e-05/0.1186, allocations: 63.92 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1186, allocations: 0 / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002876/0.1189, allocations: 225 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1189, allocations: 4 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1189, allocations: 4 kB / 334.6 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.119, allocations: 8 kB / 334.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1191, allocations: 47.92 kB / 334.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.1191, allocations: 8 kB / 334.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1193, allocations: 32.05 kB / 334.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1193, allocations: 12 kB / 334.7 MB, free: 13.32 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.0001023/0.1194, allocations: 137.7 kB / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.1195, allocations: 19.81 kB / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.1195, allocations: 16.94 kB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1195, allocations: 0 / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1195, allocations: 3.984 kB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1195, allocations: 4 kB / 334.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.1199, allocations: 233.5 kB / 335.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.12, allocations: 4 kB / 335.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1201, allocations: 39.92 kB / 335.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1201, allocations: 3.984 kB / 335.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1201, allocations: 0 / 335.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1201, allocations: 4 kB / 335.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1201, allocations: 0 / 335.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.1204, allocations: 389.6 kB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1205, allocations: 104.9 kB / 335.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1205, allocations: 4 kB / 335.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1207, allocations: 4.234 kB / 335.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.1207, allocations: 7.984 kB / 335.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.1207, allocations: 4 kB / 335.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1208, allocations: 145.5 kB / 335.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1208, allocations: 0 / 335.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.1212, allocations: 40 kB / 335.9 MB, free: 12.08 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.0005953/0.1218, allocations: 0.9178 MB / 336.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.122, allocations: 108.6 kB / 336.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.122, allocations: 4.062 kB / 336.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/0.1221, allocations: 35.92 kB / 336.9 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.1226, allocations: 27.64 kB / 337 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.1246, allocations: 1.465 MB / 338.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1249, allocations: 0.7206 MB / 339.1 MB, free: 8.652 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.125, allocations: 21.95 kB / 339.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.1251, allocations: 51.36 kB / 339.2 MB, free: 8.582 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1251, allocations: 0 / 339.2 MB, free: 8.582 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1393, allocations: 3.115 MB / 342.3 MB, free: 5.477 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.1395, allocations: 195.2 kB / 342.5 MB, free: 5.234 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.179, allocations: 0 / 342.5 MB, free: 5.234 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat