Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",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.00105/0.00105, allocations: 94.45 kB / 16.95 MB, free: 6.891 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.001194/0.001194, allocations: 185.9 kB / 17.84 MB, free: 6.137 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.438/1.438, 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.0004775/0.0004778, allocations: 15.94 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09195, allocations: 47.57 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002755/0.09476, allocations: 1.963 MB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.09585, allocations: 0.5973 MB / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.09604, allocations: 7.938 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.09617, allocations: 27.77 kB / 331 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.09633, allocations: 59.55 kB / 331.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.09655, allocations: 43.89 kB / 331.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.09684, allocations: 238.8 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.09703, allocations: 68.72 kB / 331.4 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.09721, allocations: 83.66 kB / 331.5 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.09739, allocations: 99.55 kB / 331.6 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.09743, allocations: 8 kB / 331.6 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.499e-05/0.09748, allocations: 12 kB / 331.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.09753, allocations: 35.84 kB / 331.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.0976, allocations: 61.64 kB / 331.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.09781, allocations: 179.7 kB / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.09782, allocations: 0 / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09783, allocations: 0 / 331.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.09785, allocations: 0 / 331.9 MB, free: 0.5 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.0007255/0.09858, allocations: 490.9 kB / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.09863, allocations: 12.03 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.34e-05/0.09871, allocations: 54.48 kB / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.09878, allocations: 27.72 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.09911, allocations: 235.3 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.09914, allocations: 20.42 kB / 332.7 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.09919, allocations: 16 kB / 332.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.09956, allocations: 213.9 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.09959, allocations: 4 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.09962, allocations: 8 kB / 333 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.09963, allocations: 4 kB / 333 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.09989, allocations: 133.6 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1009, allocations: 0.7171 MB / 333.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1012, allocations: 145.2 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1014, allocations: 73.17 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1014, allocations: 3.953 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1014, allocations: 34.56 kB / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.1014, allocations: 4 kB / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001559/0.103, allocations: 0.8962 MB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1031, allocations: 59.41 kB / 335 MB, free: 13.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1032, allocations: 170.7 kB / 335.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1032, allocations: 29.7 kB / 335.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.1033, allocations: 140.3 kB / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.1034, allocations: 86.66 kB / 335.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.1034, allocations: 4 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1036, allocations: 330.8 kB / 335.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1037, allocations: 55.97 kB / 335.8 MB, free: 12.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1038, allocations: 104.2 kB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.104, allocations: 75.94 kB / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.104, allocations: 0 / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004259/0.1044, allocations: 257.9 kB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1045, allocations: 4 kB / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1045, allocations: 128 / 336.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.1046, allocations: 44.83 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1049, allocations: 51.91 kB / 336.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1061, allocations: 1.374 MB / 337.7 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1062, allocations: 15.92 kB / 337.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1062, allocations: 8 kB / 337.7 MB, free: 10.17 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.1064, allocations: 129.8 kB / 337.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.1064, allocations: 27.67 kB / 337.9 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.1065, allocations: 21.94 kB / 337.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1065, allocations: 7.938 kB / 337.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1065, allocations: 3.984 kB / 337.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1065, allocations: 0 / 337.9 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.1074, allocations: 0.6531 MB / 338.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1074, allocations: 0 / 338.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1077, allocations: 47.97 kB / 338.6 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.1078, allocations: 32.78 kB / 338.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1078, allocations: 11.95 kB / 338.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.1089, allocations: 1.378 MB / 340.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1089, allocations: 0 / 340.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.1094, allocations: 414.1 kB / 340.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.1095, allocations: 88.92 kB / 340.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1096, allocations: 16.03 kB / 340.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1097, allocations: 8 kB / 340.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1097, allocations: 11.98 kB / 340.6 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1098, allocations: 15.98 kB / 340.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1099, allocations: 124.8 kB / 340.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1099, allocations: 0 / 340.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1102, allocations: 60 kB / 340.8 MB, free: 6.879 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008468/0.111, allocations: 0.9376 MB / 341.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.1116, allocations: 302.2 kB / 342 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1116, allocations: 0 / 342 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.1119, allocations: 215.3 kB / 342.2 MB, free: 5.371 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1123, allocations: 43.92 kB / 342.3 MB, free: 5.328 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.1146, allocations: 1.547 MB / 343.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1149, allocations: 0.748 MB / 344.6 MB, free: 2.949 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.115, allocations: 21.95 kB / 344.6 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1151, allocations: 67.41 kB / 344.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1151, allocations: 0 / 344.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.1564, allocations: 4.205 MB / 348.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.1566, allocations: 211.1 kB / 349.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.285, allocations: 3.938 kB / 349.1 MB, free: 14.42 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat