Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.979e-05, allocations: 8.203 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1694, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.6006, allocations: 96.84 MB / 0.5964 GB, free: 8.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.6009, allocations: 67.97 kB / 0.5964 GB, free: 8.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08386/0.6847, allocations: 27.95 MB / 0.6237 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6848, allocations: 4 kB / 0.6237 GB, free: 12.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.873e-05/0.6849, allocations: 19.94 kB / 0.6237 GB, free: 12.3 MB / 442.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.001986/0.6869, allocations: 0.9542 MB / 0.6247 GB, free: 11.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.6869, allocations: 8.031 kB / 0.6247 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.6871, allocations: 86.48 kB / 0.6248 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.6873, allocations: 86.97 kB / 0.6248 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.6885, allocations: 0.5587 MB / 0.6254 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.6885, allocations: 37 kB / 0.6254 GB, free: 10.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6886, allocations: 52 kB / 0.6255 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6897, allocations: 0.5517 MB / 0.626 GB, free: 9.812 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.6897, allocations: 8 kB / 0.626 GB, free: 9.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.6898, allocations: 20 kB / 0.626 GB, free: 9.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.6898, allocations: 15.95 kB / 0.6261 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.6905, allocations: 370 kB / 0.6264 GB, free: 9.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.6947, allocations: 2.706 MB / 0.6291 GB, free: 6.602 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.6956, allocations: 486.1 kB / 0.6295 GB, free: 6.098 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.696, allocations: 194.6 kB / 0.6297 GB, free: 5.898 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.6961, allocations: 4 kB / 0.6297 GB, free: 5.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.6961, allocations: 42.52 kB / 0.6297 GB, free: 5.844 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/0.6962, allocations: 0 / 0.6297 GB, free: 5.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.001807/0.698, allocations: 0.8087 MB / 0.6305 GB, free: 5.023 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.6981, allocations: 136.5 kB / 0.6307 GB, free: 4.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.6989, allocations: 0.5429 MB / 0.6312 GB, free: 4.309 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.699, allocations: 29.7 kB / 0.6312 GB, free: 4.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.6993, allocations: 356.1 kB / 0.6316 GB, free: 3.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.6995, allocations: 173.5 kB / 0.6317 GB, free: 3.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.6996, allocations: 12 kB / 0.6317 GB, free: 3.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.6998, allocations: 334 kB / 0.6321 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.7001, allocations: 205.5 kB / 0.6323 GB, free: 3.203 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.7007, allocations: 367.4 kB / 0.6326 GB, free: 2.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.7012, allocations: 252.3 kB / 0.6328 GB, free: 2.531 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7012, allocations: 4 kB / 0.6328 GB, free: 2.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001157/0.7024, allocations: 0.6667 MB / 0.6335 GB, free: 1.855 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000849/0.7032, allocations: 1.756 MB / 0.6352 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7032, allocations: 4 kB / 0.6352 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.7033, allocations: 8 kB / 0.6352 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.704, allocations: 155.8 kB / 0.6354 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.704, allocations: 11.94 kB / 0.6354 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/0.7046, allocations: 95.62 kB / 0.6355 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.7047, allocations: 24 kB / 0.6355 GB, free: 15.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.7047, allocations: 5.562 kB / 0.6355 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009442/0.7057, allocations: 0.5845 MB / 0.6361 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.7057, allocations: 8.516 kB / 0.6361 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.7057, allocations: 11.94 kB / 0.6361 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.7063, allocations: 151.8 kB / 0.6362 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.7064, allocations: 19.91 kB / 0.6363 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.7069, allocations: 87.55 kB / 0.6363 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.7069, allocations: 24 kB / 0.6364 GB, free: 14.79 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001744/0.7071, allocations: 140.8 kB / 0.6365 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.7073, allocations: 71.14 kB / 0.6366 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.7076, allocations: 89.95 kB / 0.6367 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7076, allocations: 8 kB / 0.6367 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7076, allocations: 4 kB / 0.6367 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.7076, allocations: 3.984 kB / 0.6367 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.7089, allocations: 0.8141 MB / 0.6375 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.709, allocations: 4 kB / 0.6375 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.7096, allocations: 119.8 kB / 0.6376 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.7097, allocations: 4 kB / 0.6376 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.7097, allocations: 15.98 kB / 0.6376 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.7097, allocations: 4 kB / 0.6376 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.7097, allocations: 4 kB / 0.6376 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.7112, allocations: 0.9945 MB / 0.6386 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.7115, allocations: 196.2 kB / 0.6388 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.7116, allocations: 15.98 kB / 0.6388 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.7122, allocations: 67.94 kB / 0.6388 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.7123, allocations: 39.88 kB / 0.6389 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.7123, allocations: 12 kB / 0.6389 GB, free: 12.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005651/0.7129, allocations: 427.2 kB / 0.6393 GB, free: 11.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7129, allocations: 0 / 0.6393 GB, free: 11.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008085/0.7137, allocations: 204 kB / 0.6395 GB, free: 11.47 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.001761/0.7155, allocations: 1.694 MB / 0.6412 GB, free: 9.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.717, allocations: 0.8097 MB / 0.6419 GB, free: 8.926 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.717, allocations: 0.6875 kB / 0.6419 GB, free: 8.926 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.7174, allocations: 223.8 kB / 0.6422 GB, free: 8.707 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.7184, allocations: 170.8 kB / 0.6423 GB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.7215, allocations: 1.372 MB / 0.6437 GB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.7221, allocations: 0.9706 MB / 0.6446 GB, free: 6.113 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008103/0.7229, allocations: 207.2 kB / 0.6448 GB, free: 5.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.7233, allocations: 243.4 kB / 0.645 GB, free: 5.676 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/0.7233, allocations: 0 / 0.645 GB, free: 5.676 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.7565, allocations: 14.6 MB / 0.6593 GB, free: 7.207 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.7568, allocations: 157.2 kB / 0.6594 GB, free: 6.977 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.3, allocations: 0 / 0.6594 GB, free: 6.977 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat