Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002416/0.0002418, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002335/0.1194, allocations: 1.8 MB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000376/0.1198, allocations: 207.3 kB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.1199, allocations: 8 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.079e-05/0.12, allocations: 27.83 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.1201, allocations: 63.8 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.1202, allocations: 35.95 kB / 360.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1204, allocations: 163.7 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1206, allocations: 93.84 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.1207, allocations: 71.77 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1209, allocations: 87.62 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1209, allocations: 12 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.434e-05/0.1209, allocations: 12 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.121, allocations: 31.84 kB / 360.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.1211, allocations: 69.58 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1213, allocations: 191.7 kB / 361.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1213, allocations: 0 / 361.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1213, allocations: 0 / 361.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1213, allocations: 0 / 361.1 MB, free: 10.91 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006648/0.122, allocations: 491.1 kB / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.122, allocations: 8.031 kB / 361.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.1221, allocations: 58.55 kB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.1222, allocations: 23.72 kB / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1224, allocations: 214.7 kB / 361.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1224, allocations: 16.56 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.1225, allocations: 23.95 kB / 361.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.1228, allocations: 240.2 kB / 362.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1229, allocations: 3.906 kB / 362.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1229, allocations: 8 kB / 362.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1229, allocations: 4 kB / 362.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.1231, allocations: 131.8 kB / 362.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1243, allocations: 0.8596 MB / 363.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1245, allocations: 163.7 kB / 363.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1245, allocations: 4 kB / 363.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1245, allocations: 34.5 kB / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.1245, allocations: 0 / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003386/0.1249, allocations: 173.7 kB / 363.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.1249, allocations: 110.8 kB / 363.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1251, allocations: 194.1 kB / 363.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1251, allocations: 29.7 kB / 363.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.1252, allocations: 164 kB / 364 MB, free: 7.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.1253, allocations: 63.11 kB / 364 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.1253, allocations: 8 kB / 364 MB, free: 7.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1254, allocations: 330.8 kB / 364.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.1255, allocations: 52.48 kB / 364.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1257, allocations: 147.7 kB / 364.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1258, allocations: 75.94 kB / 364.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1258, allocations: 4 kB / 364.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003225/0.1261, allocations: 237.1 kB / 364.9 MB, free: 6.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1262, allocations: 8 kB / 364.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1262, allocations: 1.219 kB / 364.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1262, allocations: 15.95 kB / 364.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1264, allocations: 55.92 kB / 364.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1264, allocations: 11.92 kB / 365 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1266, allocations: 27.69 kB / 365 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1266, allocations: 16 kB / 365 MB, free: 6.633 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 (33): * Single equations (assignments): 33 * 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.0001106/0.1267, allocations: 141.7 kB / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.1268, allocations: 19.72 kB / 365.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.1268, allocations: 25.39 kB / 365.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.1268, allocations: 8 kB / 365.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1269, allocations: 7.891 kB / 365.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1269, allocations: 0 / 365.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.1274, allocations: 408.9 kB / 365.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1274, allocations: 4 kB / 365.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.1276, allocations: 43.91 kB / 365.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.1276, allocations: 8.047 kB / 365.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1276, allocations: 11.94 kB / 365.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1276, allocations: 0 / 365.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1276, allocations: 0 / 365.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.128, allocations: 427.8 kB / 366.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1281, allocations: 100.9 kB / 366.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1281, allocations: 4 kB / 366.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1283, allocations: 8 kB / 366.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.1283, allocations: 15.94 kB / 366.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1283, allocations: 8 kB / 366.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.943e-05/0.1284, allocations: 139.2 kB / 366.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1284, allocations: 0 / 366.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.1288, allocations: 55.84 kB / 366.4 MB, free: 5.086 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0007096/0.1295, allocations: 1.225 MB / 367.6 MB, free: 3.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1297, allocations: 140.2 kB / 367.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1297, allocations: 0 / 367.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.1298, allocations: 51.92 kB / 367.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1302, allocations: 27.92 kB / 367.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2011/0.3312, allocations: 3.667 MB / 371.5 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3316, allocations: 0.7424 MB / 372.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3318, allocations: 22.75 kB / 372.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3319, allocations: 55.67 kB / 372.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3319, allocations: 3.828 kB / 372.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.3476, allocations: 3.311 MB / 375.6 MB, free: 18.35 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.3479, allocations: 187.1 kB / 375.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.211, allocations: 0 / 375.8 MB, free: 18.11 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat