Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",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.00107/0.00107, allocations: 173.9 kB / 15.81 MB, free: 6.285 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.585/1.585, allocations: 205.4 MB / 221.9 MB, free: 13.75 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.0008127/0.0008131, allocations: 98.22 kB / 270.3 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07869/0.07869, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004149, allocations: 12.94 kB / 392.1 MB, free: 54.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.09894, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001374/0.1004, allocations: 1.275 MB / 443.8 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.101, allocations: 0.5078 MB / 444.3 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.1011, allocations: 7.938 kB / 444.3 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.1012, allocations: 3.984 kB / 444.3 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.1013, allocations: 7.938 kB / 444.3 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1015, allocations: 55.83 kB / 444.4 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.1016, allocations: 43.84 kB / 444.4 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.1017, allocations: 8.172 kB / 444.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.1018, allocations: 19.88 kB / 444.4 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.1018, allocations: 23.86 kB / 444.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1019, allocations: 0 / 444.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.1019, allocations: 0 / 444.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.1019, allocations: 23.91 kB / 444.5 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.1019, allocations: 29.7 kB / 444.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.523e-05/0.102, allocations: 31.95 kB / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.102, allocations: 0 / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.102, allocations: 0 / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.102, allocations: 0 / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003759/0.1024, allocations: 379.7 kB / 444.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1025, allocations: 8.031 kB / 444.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.1025, allocations: 38.55 kB / 445 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.1025, allocations: 7.906 kB / 445 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1027, allocations: 194.9 kB / 445.1 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1027, allocations: 4 kB / 445.2 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1027, allocations: 4 kB / 445.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1029, allocations: 113.9 kB / 445.3 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.103, allocations: 0 / 445.3 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.103, allocations: 4 kB / 445.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.103, allocations: 0 / 445.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.1031, allocations: 27.92 kB / 445.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.1033, allocations: 278.6 kB / 445.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.1034, allocations: 71.78 kB / 445.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.1035, allocations: 42.56 kB / 445.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1035, allocations: 0 / 445.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.1036, allocations: 34.56 kB / 445.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1036, allocations: 4 kB / 445.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002359/0.1038, allocations: 89.61 kB / 445.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1038, allocations: 106.8 kB / 445.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.1039, allocations: 153.5 kB / 446.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.104, allocations: 29.7 kB / 446.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.104, allocations: 92.33 kB / 446.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.104, allocations: 0 / 446.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.104, allocations: 4 kB / 446.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.1041, allocations: 318.8 kB / 446.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.1041, allocations: 8 kB / 446.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.1042, allocations: 35.42 kB / 446.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.1042, allocations: 23.98 kB / 446.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1042, allocations: 3.938 kB / 446.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.1043, allocations: 69.47 kB / 446.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1044, allocations: 12.12 kB / 446.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1044, allocations: 7.922 kB / 446.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1044, allocations: 0 / 446.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.1045, allocations: 12 kB / 446.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1045, allocations: 3.953 kB / 446.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.1045, allocations: 8 kB / 446.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1045, allocations: 0 / 446.7 MB, free: 6.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 5.711e-05/0.1046, allocations: 125.6 kB / 446.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.1047, allocations: 57.53 kB / 446.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.1047, allocations: 15.83 kB / 446.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1047, allocations: 0 / 446.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1047, allocations: 0 / 446.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1047, allocations: 8.047 kB / 446.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1049, allocations: 165.7 kB / 447 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1049, allocations: 7.984 kB / 447 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.1049, allocations: 11.98 kB / 447.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1049, allocations: 4 kB / 447.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.105, allocations: 4.062 kB / 447.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.105, allocations: 7.938 kB / 447.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.105, allocations: 0 / 447.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1051, allocations: 177.1 kB / 447.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.1052, allocations: 97 kB / 447.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1052, allocations: 3.984 kB / 447.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.1053, allocations: 4 kB / 447.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.1053, allocations: 4 kB / 447.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1053, allocations: 0 / 447.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.1054, allocations: 115.2 kB / 447.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1054, allocations: 0 / 447.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.1056, allocations: 8 kB / 447.5 MB, free: 5.434 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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.0003048/0.1059, allocations: 0.7101 MB / 448.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.106, allocations: 43.91 kB / 448.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.106, allocations: 0 / 448.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.1061, allocations: 8 kB / 448.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1064, allocations: 35.7 kB / 448.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.1071, allocations: 0.5347 MB / 448.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.1073, allocations: 0.6926 MB / 449.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.072e-05/0.1073, allocations: 4.172 kB / 449.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.1074, allocations: 19.44 kB / 449.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1074, allocations: 0 / 449.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.1202, allocations: 1.435 MB / 451 MB, free: 1.848 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.1204, allocations: 215.3 kB / 451.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.664, allocations: 0 / 451.2 MB, free: 1.602 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat