Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.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 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 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) 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(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",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.001044/0.001044, allocations: 95.53 kB / 16.99 MB, free: 5.941 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.001133/0.001133, allocations: 181 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2405/0.2405, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004169/0.1567, allocations: 3.677 MB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.1597, allocations: 1.45 MB / 476.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.1603, allocations: 31.81 kB / 476.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.1605, allocations: 63.19 kB / 476.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007529/0.1612, allocations: 255 kB / 477 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1622, allocations: 469.6 kB / 477.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009083/0.1631, allocations: 0.6455 MB / 478.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.1636, allocations: 306.5 kB / 478.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.1639, allocations: 250.6 kB / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.1643, allocations: 286.1 kB / 478.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.1644, allocations: 20 kB / 479 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.1644, allocations: 24 kB / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1646, allocations: 123.3 kB / 479.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1647, allocations: 161.1 kB / 479.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.1655, allocations: 0.7017 MB / 480 MB, free: 5.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1655, allocations: 0 / 480 MB, free: 5.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1655, allocations: 0 / 480 MB, free: 5.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1655, allocations: 0 / 480 MB, free: 5.199 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002087/0.1676, allocations: 1.156 MB / 481.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1677, allocations: 8.031 kB / 481.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.1678, allocations: 102.5 kB / 481.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.168, allocations: 118.6 kB / 481.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.1691, allocations: 0.5846 MB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.1691, allocations: 45.31 kB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1692, allocations: 71.94 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.1706, allocations: 0.7583 MB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1706, allocations: 4 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.1707, allocations: 24 kB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.1707, allocations: 16 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.172, allocations: 0.5816 MB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.1758, allocations: 2.745 MB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.1774, allocations: 0.7428 MB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.1775, allocations: 4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.1775, allocations: 47.5 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.1775, allocations: 0 / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.001978/0.1795, allocations: 0.8652 MB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.1797, allocations: 251.2 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008213/0.1805, allocations: 0.6889 MB / 488.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.1806, allocations: 37.7 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.1809, allocations: 428.5 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.1811, allocations: 189.3 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1811, allocations: 12 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1813, allocations: 330 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.1818, allocations: 241 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.1825, allocations: 384 kB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.1831, allocations: 282.2 kB / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1831, allocations: 0 / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002699/0.1858, allocations: 1.158 MB / 491.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005125/0.1863, allocations: 1.13 MB / 492.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1863, allocations: 4 kB / 492.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.1876, allocations: 371 kB / 493.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.1881, allocations: 123.9 kB / 493.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008926/0.1971, allocations: 7.183 MB / 0.4888 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.1977, allocations: 99.39 kB / 0.4889 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.1978, allocations: 20 kB / 0.489 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1978, allocations: 4 kB / 0.489 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/0.1992, allocations: 0.6721 MB / 0.4896 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.1993, allocations: 11.98 kB / 0.4896 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.1997, allocations: 145.8 kB / 0.4898 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.2005, allocations: 175.8 kB / 0.4899 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/0.2039, allocations: 3.315 MB / 0.4932 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.2044, allocations: 71.44 kB / 0.4932 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.2045, allocations: 20 kB / 0.4933 GB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004301/0.2049, allocations: 289.1 kB / 0.4935 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.2051, allocations: 90.88 kB / 0.4936 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.2053, allocations: 95.16 kB / 0.4937 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2053, allocations: 11.94 kB / 0.4937 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.2053, allocations: 4 kB / 0.4937 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2053, allocations: 3.984 kB / 0.4937 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.2063, allocations: 0.7311 MB / 0.4944 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2063, allocations: 0 / 0.4944 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.2069, allocations: 127.9 kB / 0.4946 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2069, allocations: 0 / 0.4946 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.207, allocations: 12 kB / 0.4946 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.207, allocations: 7.938 kB / 0.4946 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.207, allocations: 3.953 kB / 0.4946 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2089, allocations: 1.316 MB / 0.4959 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.2092, allocations: 211.9 kB / 0.4961 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.2093, allocations: 12 kB / 0.4961 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.2098, allocations: 60.27 kB / 0.4961 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.2099, allocations: 31.89 kB / 0.4962 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.2099, allocations: 20 kB / 0.4962 GB, free: 7.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005265/0.2104, allocations: 479 kB / 0.4966 GB, free: 7.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2104, allocations: 0 / 0.4966 GB, free: 7.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.2115, allocations: 279 kB / 0.4969 GB, free: 6.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * 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.002271/0.2137, allocations: 2.083 MB / 0.4989 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004188/0.2179, allocations: 2.013 MB / 0.5009 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.218, allocations: 0 / 0.5009 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006179/0.2186, allocations: 311.7 kB / 0.5012 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.2198, allocations: 202.3 kB / 0.5014 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2218/0.4417, allocations: 7.085 MB / 0.5083 GB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007932/0.4425, allocations: 1.007 MB / 0.5093 GB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000519/0.443, allocations: 91.86 kB / 0.5094 GB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.4435, allocations: 322.9 kB / 0.5097 GB, free: 43.38 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4435, allocations: 0.9062 kB / 0.5097 GB, free: 43.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.4769, allocations: 18.45 MB / 0.5277 GB, free: 36.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000124/0.477, allocations: 192.2 kB / 0.5279 GB, free: 36.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.765, allocations: 0 / 0.5279 GB, free: 36.11 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat