Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",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.0008818/0.0008817, allocations: 94.52 kB / 16.93 MB, free: 5.984 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.000854/0.0008538, allocations: 178.8 kB / 17.82 MB, free: 5.652 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.418/1.418, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004592/0.0004592, allocations: 16 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 47.57 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002651/0.1241, allocations: 1.937 MB / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1252, allocations: 0.609 MB / 331 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1253, allocations: 7.938 kB / 331 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.412e-05/0.1254, allocations: 27.83 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1256, allocations: 75.77 kB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1259, allocations: 43.94 kB / 331.1 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.1262, allocations: 183.6 kB / 331.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.1264, allocations: 65.34 kB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1265, allocations: 79.7 kB / 331.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1267, allocations: 95.55 kB / 331.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.1267, allocations: 16 kB / 331.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.1268, allocations: 12 kB / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.1268, allocations: 31.84 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.1269, allocations: 69.58 kB / 331.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1271, allocations: 183.7 kB / 331.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1271, allocations: 3.938 kB / 331.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1271, allocations: 0 / 331.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1271, allocations: 0 / 331.8 MB, free: 0.5586 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007239/0.1278, allocations: 498.9 kB / 332.3 MB, free: 20 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.1279, allocations: 8.031 kB / 332.3 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.191e-05/0.128, allocations: 54.55 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.128, allocations: 23.72 kB / 332.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1283, allocations: 247.2 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1283, allocations: 12.44 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.1284, allocations: 24 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.1288, allocations: 217.3 kB / 332.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1288, allocations: 0 / 332.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1288, allocations: 8 kB / 332.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1289, allocations: 8 kB / 332.9 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.1292, allocations: 156.4 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1304, allocations: 0.7957 MB / 333.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.1308, allocations: 201 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1308, allocations: 0 / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1309, allocations: 38.56 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 9.71e-07/0.1309, allocations: 0 / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001613/0.1325, allocations: 0.8789 MB / 335 MB, free: 13.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.1326, allocations: 85.09 kB / 335.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1328, allocations: 186 kB / 335.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1328, allocations: 29.7 kB / 335.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1329, allocations: 140.5 kB / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.133, allocations: 94.64 kB / 335.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.133, allocations: 12 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1332, allocations: 326.8 kB / 335.8 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1334, allocations: 63.97 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.1336, allocations: 116.2 kB / 336 MB, free: 12.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1338, allocations: 83.98 kB / 336.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1338, allocations: 0 / 336.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004324/0.1342, allocations: 253.1 kB / 336.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1342, allocations: 4 kB / 336.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1343, allocations: 7.953 kB / 336.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1343, allocations: 3.938 kB / 336.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.1345, allocations: 67.89 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1346, allocations: 0 / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1347, allocations: 16.03 kB / 336.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1347, allocations: 16 kB / 336.4 MB, free: 11.58 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001356/0.1348, allocations: 133.8 kB / 336.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.1349, allocations: 23.72 kB / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.135, allocations: 29.86 kB / 336.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/0.135, allocations: 7.953 kB / 336.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.135, allocations: 0 / 336.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.135, allocations: 0 / 336.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.1359, allocations: 0.5901 MB / 337.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1359, allocations: 4 kB / 337.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.1362, allocations: 63.89 kB / 337.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1362, allocations: 4.094 kB / 337.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1362, allocations: 8 kB / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1363, allocations: 4 kB / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1363, allocations: 0 / 337.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.137, allocations: 0.5388 MB / 337.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.1371, allocations: 100.9 kB / 337.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.1371, allocations: 8 kB / 338 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1373, allocations: 11.95 kB / 338 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.1374, allocations: 20.02 kB / 338 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1374, allocations: 8 kB / 338 MB, free: 9.887 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1375, allocations: 136.3 kB / 338.1 MB, free: 9.754 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1375, allocations: 0 / 338.1 MB, free: 9.754 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.1379, allocations: 48 kB / 338.2 MB, free: 9.707 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,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 (26): * Single equations (assignments): 26 * 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.001209/0.1391, allocations: 1.363 MB / 339.5 MB, free: 8.293 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.1395, allocations: 187.8 kB / 339.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1395, allocations: 0 / 339.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.1397, allocations: 100.2 kB / 339.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1401, allocations: 44.11 kB / 339.9 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.1428, allocations: 2.195 MB / 342.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.1432, allocations: 0.7561 MB / 342.8 MB, free: 4.918 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.946e-05/0.1433, allocations: 25.92 kB / 342.8 MB, free: 4.891 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1435, allocations: 63.42 kB / 342.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1435, allocations: 0 / 342.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.1585, allocations: 3.867 MB / 346.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.1588, allocations: 181.5 kB / 346.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/1.992, allocations: 0 / 346.9 MB, free: 0.7266 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat