Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.78 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1886/0.1886, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.0984, allocations: 58.86 MB / 490.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2946/0.393, allocations: 96.19 MB / 0.5728 GB, free: 3.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.3932, allocations: 64.72 kB / 0.5728 GB, free: 3.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08086/0.4741, allocations: 29.42 MB / 0.6016 GB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4741, allocations: 4 kB / 0.6016 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.621e-05/0.4742, allocations: 20 kB / 0.6016 GB, free: 10.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002157/0.4764, allocations: 1.111 MB / 0.6027 GB, free: 9.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4764, allocations: 8.031 kB / 0.6027 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.72e-05/0.4765, allocations: 87.08 kB / 0.6028 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.4767, allocations: 90.91 kB / 0.6029 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.4778, allocations: 0.6072 MB / 0.6035 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.4779, allocations: 38.58 kB / 0.6035 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.478, allocations: 61.41 kB / 0.6035 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009949/0.479, allocations: 0.6155 MB / 0.6041 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.479, allocations: 0 / 0.6041 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.4791, allocations: 17.88 kB / 0.6042 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4791, allocations: 12 kB / 0.6042 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/0.4801, allocations: 489.6 kB / 0.6046 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.4833, allocations: 2.68 MB / 0.6073 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.4843, allocations: 0.5123 MB / 0.6078 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.4843, allocations: 8.297 kB / 0.6078 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4843, allocations: 34.05 kB / 0.6078 GB, free: 4.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.4844, allocations: 0 / 0.6078 GB, free: 4.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002289/0.4866, allocations: 1.19 MB / 0.609 GB, free: 3.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4867, allocations: 106.8 kB / 0.6091 GB, free: 3.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007327/0.4874, allocations: 0.5717 MB / 0.6096 GB, free: 3.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.4875, allocations: 36.95 kB / 0.6097 GB, free: 3.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.4877, allocations: 360 kB / 0.61 GB, free: 3.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4879, allocations: 180.6 kB / 0.6102 GB, free: 2.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.4879, allocations: 10 kB / 0.6102 GB, free: 2.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.488, allocations: 331.8 kB / 0.6105 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.4886, allocations: 283.7 kB / 0.6108 GB, free: 2.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.4893, allocations: 436.4 kB / 0.6112 GB, free: 2.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.4899, allocations: 327.9 kB / 0.6115 GB, free: 1.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4899, allocations: 4 kB / 0.6115 GB, free: 1.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001517/0.4914, allocations: 0.827 MB / 0.6123 GB, free: 1.152 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005898/0.492, allocations: 1.755 MB / 0.614 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4921, allocations: 8 kB / 0.614 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4921, allocations: 11.95 kB / 0.614 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009997/0.4931, allocations: 205.5 kB / 0.6142 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.4931, allocations: 15.97 kB / 0.6143 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.4936, allocations: 80.2 kB / 0.6143 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.4937, allocations: 30.94 kB / 0.6144 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.4937, allocations: 4 kB / 0.6144 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.495, allocations: 0.7194 MB / 0.6151 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.495, allocations: 8.531 kB / 0.6151 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.4951, allocations: 8 kB / 0.6151 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.496, allocations: 211 kB / 0.6153 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.496, allocations: 8 kB / 0.6153 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.4965, allocations: 82.38 kB / 0.6154 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.4966, allocations: 25.31 kB / 0.6154 GB, free: 14.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002973/0.4969, allocations: 292.6 kB / 0.6157 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.497, allocations: 75.06 kB / 0.6157 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.4972, allocations: 101.9 kB / 0.6158 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4972, allocations: 4 kB / 0.6158 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4972, allocations: 4 kB / 0.6159 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4972, allocations: 3.984 kB / 0.6159 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.4991, allocations: 1.274 MB / 0.6171 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4991, allocations: 0 / 0.6171 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000704/0.4998, allocations: 120.4 kB / 0.6172 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.4998, allocations: 0 / 0.6172 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.4999, allocations: 19.56 kB / 0.6172 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4999, allocations: 4 kB / 0.6172 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4999, allocations: 0 / 0.6172 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.5019, allocations: 1.253 MB / 0.6185 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.5021, allocations: 193.6 kB / 0.6186 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.036e-05/0.5022, allocations: 18.42 kB / 0.6187 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/0.5028, allocations: 58.39 kB / 0.6187 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5029, allocations: 37.62 kB / 0.6188 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5029, allocations: 15.55 kB / 0.6188 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006112/0.5035, allocations: 459.2 kB / 0.6192 GB, free: 10.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5036, allocations: 0 / 0.6192 GB, free: 10.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008537/0.5044, allocations: 231.9 kB / 0.6194 GB, free: 10.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (46): * Single equations (assignments): 46 * 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.002346/0.5068, allocations: 2.116 MB / 0.6215 GB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.5088, allocations: 1.017 MB / 0.6225 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5088, allocations: 0 / 0.6225 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.5094, allocations: 305.8 kB / 0.6228 GB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.5102, allocations: 168.5 kB / 0.6229 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/0.5186, allocations: 7.753 MB / 0.6305 GB, free: 100 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.5192, allocations: 0.9661 MB / 0.6315 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006007/0.5198, allocations: 156.8 kB / 0.6316 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.5202, allocations: 267.3 kB / 0.6319 GB, free: 14.69 MB / 442.7 MB Notification: Performance of SimCode: time 2.194e-06/0.5202, allocations: 3.938 kB / 0.6319 GB, free: 14.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.5471, allocations: 14.31 MB / 0.6458 GB, free: 432 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.5474, allocations: 177.5 kB / 0.646 GB, free: 184 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.75, allocations: 4 kB / 0.646 GB, free: 180 kB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat