Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 94.84 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 195.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.000238, allocations: 8 kB / 306.8 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002619/0.1136, allocations: 2.028 MB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004574/0.114, allocations: 243.1 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1142, allocations: 7.938 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1143, allocations: 27.77 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1144, allocations: 75.44 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.1146, allocations: 43.91 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1148, allocations: 270.6 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.115, allocations: 74.78 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.1151, allocations: 95.64 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1153, allocations: 103.5 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1153, allocations: 12 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.1153, allocations: 12 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.1154, allocations: 39.84 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1154, allocations: 69.58 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1156, allocations: 211.6 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1156, allocations: 0 / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1157, allocations: 4 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1157, allocations: 0 / 361.6 MB, free: 10.66 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006576/0.1163, allocations: 0.5029 MB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1164, allocations: 8.031 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.423e-05/0.1164, allocations: 62.53 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.1165, allocations: 31.62 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1168, allocations: 239.4 kB / 362.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1168, allocations: 20.56 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.1169, allocations: 27.95 kB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.1173, allocations: 235.4 kB / 362.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1173, allocations: 11.91 kB / 362.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1174, allocations: 4 kB / 362.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1174, allocations: 8 kB / 362.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.1177, allocations: 159.8 kB / 362.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009979/0.1187, allocations: 0.8008 MB / 363.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.1192, allocations: 295.7 kB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.1194, allocations: 130.5 kB / 364.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1194, allocations: 7.938 kB / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1194, allocations: 34.56 kB / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.1194, allocations: 0 / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002547/0.122, allocations: 1.946 MB / 366.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.1221, allocations: 106.8 kB / 366.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1223, allocations: 196.1 kB / 366.4 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1223, allocations: 29.7 kB / 366.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.1224, allocations: 140.7 kB / 366.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1225, allocations: 161.6 kB / 366.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.1225, allocations: 12 kB / 366.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1227, allocations: 330.8 kB / 367 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1228, allocations: 96.83 kB / 367.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.123, allocations: 162.2 kB / 367.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1232, allocations: 104.7 kB / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1232, allocations: 0 / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004577/0.1237, allocations: 342.9 kB / 367.7 MB, free: 3.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1237, allocations: 8 kB / 367.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1237, allocations: 0 / 367.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1237, allocations: 4.938 kB / 367.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.124, allocations: 99.78 kB / 367.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1241, allocations: 4 kB / 367.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.1242, allocations: 12 kB / 367.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1242, allocations: 11.98 kB / 367.9 MB, free: 3.809 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001405/0.1243, allocations: 161.8 kB / 368 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.1244, allocations: 27.62 kB / 368.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.85e-05/0.1245, allocations: 33.88 kB / 368.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1245, allocations: 8 kB / 368.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.1245, allocations: 3.984 kB / 368.1 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1246, allocations: 7.938 kB / 368.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.1259, allocations: 1.047 MB / 369.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1259, allocations: 4 kB / 369.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1262, allocations: 95.78 kB / 369.3 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1263, allocations: 11.94 kB / 369.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.1263, allocations: 12 kB / 369.3 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1263, allocations: 4.281 kB / 369.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1263, allocations: 8 kB / 369.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.1271, allocations: 0.7288 MB / 370 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.1271, allocations: 96.83 kB / 370.1 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.1272, allocations: 20 kB / 370.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1274, allocations: 8 kB / 370.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1274, allocations: 35.91 kB / 370.2 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1275, allocations: 16 kB / 370.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.814e-05/0.1276, allocations: 135.3 kB / 370.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1276, allocations: 4 kB / 370.3 MB, free: 1.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.128, allocations: 72 kB / 370.4 MB, free: 1.129 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.1764/0.3044, allocations: 1.264 MB / 371.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.305, allocations: 254 kB / 371.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3051, allocations: 0.625 kB / 371.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.3053, allocations: 145 kB / 372.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/0.3061, allocations: 62.36 kB / 372.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.3089, allocations: 2.011 MB / 374.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3091, allocations: 0.7713 MB / 374.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.3093, allocations: 39.28 kB / 374.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.3095, allocations: 95.06 kB / 375 MB, free: 17.52 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3095, allocations: 0 / 375 MB, free: 17.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.3282, allocations: 5.371 MB / 380.4 MB, free: 17.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.3284, allocations: 183.4 kB / 380.6 MB, free: 16.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.219, allocations: 1.188 kB / 380.6 MB, free: 16.88 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat