Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",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.001534/0.001533, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001118/0.001118, allocations: 90.3 kB / 261.8 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1082/0.1082, allocations: 12.6 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.428e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.09859, allocations: 50.38 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.5737, allocations: 76.57 MB / 0.4941 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5741, allocations: 75.86 kB / 0.4942 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002479/0.5766, allocations: 0.7642 MB / 0.4949 GB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5766, allocations: 0 / 0.4949 GB, free: 11.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.5766, allocations: 3.812 kB / 0.4949 GB, free: 11.36 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003167/0.577, allocations: 335.7 kB / 0.4953 GB, free: 11.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.577, allocations: 11.56 kB / 0.4953 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.5771, allocations: 2.188 kB / 0.4953 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.5772, allocations: 173.4 kB / 0.4954 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.5773, allocations: 3.875 kB / 0.4955 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.5773, allocations: 3.953 kB / 0.4955 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.819e-05/0.5774, allocations: 16.83 kB / 0.4955 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.5776, allocations: 91.42 kB / 0.4956 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.5776, allocations: 0 / 0.4956 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.5776, allocations: 0 / 0.4956 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.5777, allocations: 0 / 0.4956 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.5778, allocations: 135.6 kB / 0.4957 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5779, allocations: 39.73 kB / 0.4957 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.578, allocations: 16.48 kB / 0.4957 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.578, allocations: 4 kB / 0.4957 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.578, allocations: 40.38 kB / 0.4958 GB, free: 10.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.578, allocations: 0 / 0.4958 GB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001472/0.5782, allocations: 47.33 kB / 0.4958 GB, free: 10.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.5782, allocations: 59.19 kB / 0.4959 GB, free: 10.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.5783, allocations: 97.5 kB / 0.496 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5783, allocations: 25.7 kB / 0.496 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.5784, allocations: 87.3 kB / 0.4961 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.5784, allocations: 7.906 kB / 0.4961 GB, free: 10.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.5784, allocations: 0 / 0.4961 GB, free: 10.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.5785, allocations: 317.3 kB / 0.4964 GB, free: 9.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.5785, allocations: 3.844 kB / 0.4964 GB, free: 9.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.5785, allocations: 26.53 kB / 0.4964 GB, free: 9.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.5786, allocations: 10.61 kB / 0.4964 GB, free: 9.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5786, allocations: 3.938 kB / 0.4964 GB, free: 9.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.339e-05/0.5787, allocations: 54.98 kB / 0.4965 GB, free: 9.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5787, allocations: 3.844 kB / 0.4965 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5787, allocations: 3.844 kB / 0.4965 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5788, allocations: 3.953 kB / 0.4965 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.5788, allocations: 10.16 kB / 0.4965 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5789, allocations: 0 / 0.4965 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.5789, allocations: 8 kB / 0.4965 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.5789, allocations: 0 / 0.4965 GB, free: 9.805 MB / 330.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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.091e-05/0.579, allocations: 110.5 kB / 0.4966 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.839e-05/0.5791, allocations: 61.34 kB / 0.4967 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.5791, allocations: 7.859 kB / 0.4967 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.5791, allocations: 4.344 kB / 0.4967 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5792, allocations: 3.938 kB / 0.4967 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5792, allocations: 0 / 0.4967 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5792, allocations: 0 / 0.4967 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.875e-05/0.5793, allocations: 145.2 kB / 0.4968 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5793, allocations: 0 / 0.4968 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5794, allocations: 10.64 kB / 0.4968 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.5794, allocations: 0 / 0.4968 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5794, allocations: 0 / 0.4968 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.5794, allocations: 11.45 kB / 0.4969 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5794, allocations: 0 / 0.4969 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.5796, allocations: 70.67 kB / 0.4969 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.5796, allocations: 83.58 kB / 0.497 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.5796, allocations: 4 kB / 0.497 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.5797, allocations: 3.875 kB / 0.497 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-06/0.5797, allocations: 6.578 kB / 0.497 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5797, allocations: 3.938 kB / 0.497 GB, free: 9.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.5798, allocations: 81.91 kB / 0.4971 GB, free: 9.227 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5798, allocations: 0 / 0.4971 GB, free: 9.227 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002498/0.58, allocations: 3.875 kB / 0.4971 GB, free: 9.227 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete 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.0004521/0.5805, allocations: 0.6239 MB / 0.4977 GB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.41e-05/0.5806, allocations: 18.97 kB / 0.4977 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5806, allocations: 0 / 0.4977 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5806, allocations: 0 / 0.4977 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.5809, allocations: 15.31 kB / 0.4977 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.5813, allocations: 104.2 kB / 0.4978 GB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.5814, allocations: 0.6896 MB / 0.4985 GB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.674e-05/0.5814, allocations: 8.406 kB / 0.4985 GB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.5815, allocations: 13.72 kB / 0.4985 GB, free: 7.797 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5815, allocations: 0 / 0.4985 GB, free: 7.797 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.6192, allocations: 0.8194 MB / 0.4993 GB, free: 7.727 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/0.6195, allocations: 171.4 kB / 0.4995 GB, free: 7.535 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.095, allocations: 0 / 0.4995 GB, free: 7.535 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat