Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",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.001631/0.001631, allocations: 184.2 kB / 15.8 MB, free: 6.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, 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.001176/0.001176, allocations: 94.86 kB / 270.3 MB, free: 13.36 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.0941/0.0941, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.0005567, allocations: 13.47 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1091, allocations: 50.36 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.2647, allocations: 78.52 MB / 0.5088 GB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.2651, allocations: 79.95 kB / 0.5089 GB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006623/0.2717, allocations: 1.55 MB / 0.5104 GB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2718, allocations: 0 / 0.5104 GB, free: 10.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.2718, allocations: 8 kB / 0.5104 GB, free: 10.56 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005601/0.2724, allocations: 374.9 kB / 0.5107 GB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.2724, allocations: 12.03 kB / 0.5107 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.2725, allocations: 38.55 kB / 0.5108 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.2725, allocations: 7.906 kB / 0.5108 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.2728, allocations: 199.1 kB / 0.511 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2729, allocations: 7.953 kB / 0.511 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2729, allocations: 0 / 0.511 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.2733, allocations: 138.7 kB / 0.5111 GB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2733, allocations: 0 / 0.5111 GB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2733, allocations: 4 kB / 0.5111 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2734, allocations: 0 / 0.5111 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.2735, allocations: 35.91 kB / 0.5112 GB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.2741, allocations: 374.7 kB / 0.5115 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.2743, allocations: 98.42 kB / 0.5116 GB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2743, allocations: 0 / 0.5116 GB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2744, allocations: 36.12 kB / 0.5116 GB, free: 9.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2744, allocations: 4 kB / 0.5116 GB, free: 9.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004661/0.2749, allocations: 109.4 kB / 0.5118 GB, free: 8.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.275, allocations: 136.9 kB / 0.5119 GB, free: 8.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2752, allocations: 133.5 kB / 0.512 GB, free: 8.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2752, allocations: 29.64 kB / 0.512 GB, free: 8.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.2753, allocations: 92.31 kB / 0.5121 GB, free: 8.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.2753, allocations: 7.906 kB / 0.5121 GB, free: 8.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-06/0.2753, allocations: 4 kB / 0.5121 GB, free: 8.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2755, allocations: 314.8 kB / 0.5124 GB, free: 8.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.2756, allocations: 11.98 kB / 0.5125 GB, free: 8.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2757, allocations: 48.28 kB / 0.5125 GB, free: 8.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.2758, allocations: 19.95 kB / 0.5125 GB, free: 8.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2758, allocations: 0 / 0.5125 GB, free: 8.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002933/0.2761, allocations: 93.45 kB / 0.5126 GB, free: 7.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2761, allocations: 8 kB / 0.5126 GB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2762, allocations: 0 / 0.5126 GB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2762, allocations: 7.984 kB / 0.5126 GB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2763, allocations: 8 kB / 0.5126 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2763, allocations: 4 kB / 0.5126 GB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.2764, allocations: 8.156 kB / 0.5126 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.2765, allocations: 3.984 kB / 0.5126 GB, free: 7.934 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.0001181/0.2766, allocations: 129.5 kB / 0.5128 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.2767, allocations: 57.59 kB / 0.5128 GB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.2768, allocations: 11.88 kB / 0.5128 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2768, allocations: 7.938 kB / 0.5128 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2768, allocations: 128 / 0.5128 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2768, allocations: 0 / 0.5128 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.2772, allocations: 181.7 kB / 0.513 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.2772, allocations: 7.953 kB / 0.513 GB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.2773, allocations: 11.98 kB / 0.513 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.2773, allocations: 4 kB / 0.513 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2774, allocations: 0 / 0.513 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.2774, allocations: 4 kB / 0.513 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2774, allocations: 0 / 0.513 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.2778, allocations: 309.5 kB / 0.5133 GB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.2779, allocations: 96.94 kB / 0.5134 GB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.2779, allocations: 3.984 kB / 0.5134 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.2781, allocations: 8 kB / 0.5134 GB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.2782, allocations: 7.938 kB / 0.5134 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2782, allocations: 0 / 0.5134 GB, free: 6.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.2783, allocations: 120.5 kB / 0.5136 GB, free: 6.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2783, allocations: 0 / 0.5136 GB, free: 6.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000371/0.2787, allocations: 11.91 kB / 0.5136 GB, free: 6.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0007872/0.2795, allocations: 1.038 MB / 0.5146 GB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.2797, allocations: 51.84 kB / 0.5146 GB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.2798, allocations: 0 / 0.5146 GB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.2799, allocations: 11.98 kB / 0.5146 GB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.2803, allocations: 44.52 kB / 0.5147 GB, free: 5.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2819, allocations: 1.167 MB / 0.5158 GB, free: 4.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2823, allocations: 0.6965 MB / 0.5165 GB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.2824, allocations: 7.781 kB / 0.5165 GB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.2825, allocations: 19.5 kB / 0.5165 GB, free: 3.664 MB / 362.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2825, allocations: 0 / 0.5165 GB, free: 3.664 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.3067, allocations: 1.598 MB / 0.5181 GB, free: 2.078 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.3071, allocations: 190.4 kB / 0.5183 GB, free: 1.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/2.674, allocations: 4 kB / 0.5183 GB, free: 1.836 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat