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.0009461/0.000946, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 86.3 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2134/0.2134, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4525/0.5931, allocations: 95.44 MB / 0.5592 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5934, allocations: 70.81 kB / 0.5593 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09123/0.6846, allocations: 29.17 MB / 0.5878 GB, free: 7.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6847, allocations: 3.984 kB / 0.5878 GB, free: 7.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.226e-05/0.6848, allocations: 24.38 kB / 0.5878 GB, free: 7.371 MB / 394.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.002086/0.6869, allocations: 0.9586 MB / 0.5887 GB, free: 6.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6869, allocations: 12.03 kB / 0.5887 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.6872, allocations: 90.88 kB / 0.5888 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.6884, allocations: 0.5878 MB / 0.5894 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.6884, allocations: 15.95 kB / 0.5894 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.6886, allocations: 39.34 kB / 0.5895 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006548/0.6892, allocations: 335.2 kB / 0.5898 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007971/0.69, allocations: 498.1 kB / 0.5903 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.6901, allocations: 3.938 kB / 0.5903 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.6901, allocations: 4 kB / 0.5903 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.6901, allocations: 8 kB / 0.5903 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.6942, allocations: 2.576 MB / 0.5928 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.6949, allocations: 413.6 kB / 0.5932 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.6952, allocations: 196.6 kB / 0.5934 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.6953, allocations: 4.234 kB / 0.5934 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.6953, allocations: 37.42 kB / 0.5934 GB, free: 2.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 2.515e-06/0.6953, allocations: 0 / 0.5934 GB, free: 2.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.001503/0.6968, allocations: 0.7795 MB / 0.5942 GB, free: 1.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.6969, allocations: 110.8 kB / 0.5943 GB, free: 1.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.6975, allocations: 496.5 kB / 0.5947 GB, free: 1.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.6976, allocations: 25.7 kB / 0.5948 GB, free: 1.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.6979, allocations: 361 kB / 0.5951 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.698, allocations: 172.3 kB / 0.5953 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.6981, allocations: 4 kB / 0.5953 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.6982, allocations: 385.2 kB / 0.5956 GB, free: 284 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.6986, allocations: 196 kB / 0.5958 GB, free: 160 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.699, allocations: 342.9 kB / 0.5962 GB, free: 15.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.6995, allocations: 245.7 kB / 0.5964 GB, free: 15.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.6995, allocations: 3.953 kB / 0.5964 GB, free: 15.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001059/0.7006, allocations: 0.6277 MB / 0.597 GB, free: 15.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009822/0.7016, allocations: 1.749 MB / 0.5987 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.7016, allocations: 7.984 kB / 0.5987 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.7016, allocations: 8 kB / 0.5987 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.7027, allocations: 214.8 kB / 0.5989 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.7028, allocations: 11.95 kB / 0.599 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.7034, allocations: 71.62 kB / 0.599 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.7034, allocations: 27.19 kB / 0.599 GB, free: 13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.7035, allocations: 4 kB / 0.5991 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009118/0.7044, allocations: 0.523 MB / 0.5996 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7044, allocations: 4 kB / 0.5996 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.7044, allocations: 8 kB / 0.5996 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/0.7054, allocations: 203.4 kB / 0.5998 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7054, allocations: 11.94 kB / 0.5998 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.7059, allocations: 79.53 kB / 0.5999 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.706, allocations: 23.31 kB / 0.5999 GB, free: 12.3 MB / 410.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 (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.0001821/0.7062, allocations: 124.1 kB / 0.6 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007679/0.707, allocations: 450.1 kB / 0.6004 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.7071, allocations: 75.05 kB / 0.6005 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.7074, allocations: 85.19 kB / 0.6006 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.7074, allocations: 4 kB / 0.6006 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7074, allocations: 4 kB / 0.6006 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7074, allocations: 11.98 kB / 0.6006 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.7093, allocations: 1.112 MB / 0.6017 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7093, allocations: 0 / 0.6017 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.71, allocations: 115 kB / 0.6018 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.71, allocations: 4 kB / 0.6018 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.7101, allocations: 15.36 kB / 0.6018 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7101, allocations: 0 / 0.6018 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7101, allocations: 7.938 kB / 0.6018 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.7113, allocations: 1.001 MB / 0.6028 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.7115, allocations: 196.1 kB / 0.603 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.7116, allocations: 7.984 kB / 0.603 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.7121, allocations: 51.94 kB / 0.603 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.7123, allocations: 42.5 kB / 0.6031 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.7123, allocations: 15.31 kB / 0.6031 GB, free: 9.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004475/0.7128, allocations: 385.5 kB / 0.6035 GB, free: 9.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7128, allocations: 0 / 0.6035 GB, free: 9.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009915/0.7138, allocations: 196 kB / 0.6036 GB, free: 9.027 MB / 410.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 () * 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.001857/0.7156, allocations: 1.85 MB / 0.6055 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.717, allocations: 0.7782 MB / 0.6062 GB, free: 6.777 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.717, allocations: 0 / 0.6062 GB, free: 6.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.7174, allocations: 225.4 kB / 0.6064 GB, free: 6.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.7183, allocations: 153.3 kB / 0.6066 GB, free: 6.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.7211, allocations: 1.356 MB / 0.6079 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.7217, allocations: 0.9745 MB / 0.6089 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007874/0.7225, allocations: 199.1 kB / 0.609 GB, free: 4.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.7229, allocations: 251.3 kB / 0.6093 GB, free: 3.965 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.7229, allocations: 4 kB / 0.6093 GB, free: 3.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.763, allocations: 14.26 MB / 0.6232 GB, free: 5.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.7632, allocations: 134.9 kB / 0.6233 GB, free: 5.539 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.271, allocations: 0 / 0.6233 GB, free: 5.539 MB / 426.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