Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep",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.001073/0.001073, allocations: 170.5 kB / 16.14 MB, free: 5.656 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.49/1.49, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0007573/0.0007573, allocations: 90.34 kB / 270.7 MB, free: 8.25 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.08021/0.08021, allocations: 12.61 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 12 kB / 392.8 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.09947, allocations: 50.37 MB / 443.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001488/0.101, allocations: 1.159 MB / 444.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.1013, allocations: 91.69 kB / 444.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.1014, allocations: 0 / 444.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.1014, allocations: 0 / 444.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.1015, allocations: 7.938 kB / 444.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1018, allocations: 23.97 kB / 444.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.1019, allocations: 23.92 kB / 444.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.102, allocations: 19.86 kB / 444.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.102, allocations: 4 kB / 444.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.1021, allocations: 19.91 kB / 444.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1021, allocations: 4 kB / 444.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.1021, allocations: 0 / 444.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.1022, allocations: 3.938 kB / 444.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1022, allocations: 37.64 kB / 444.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.1023, allocations: 19.91 kB / 444.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1023, allocations: 0 / 444.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1023, allocations: 0 / 444.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1023, allocations: 0 / 444.5 MB, free: 13.91 MB / 298.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.0004607/0.1028, allocations: 343.7 kB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.1029, allocations: 8.031 kB / 444.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1029, allocations: 38.75 kB / 444.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.103, allocations: 4.844 kB / 444.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1032, allocations: 176.2 kB / 445.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1032, allocations: 4.375 kB / 445.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1032, allocations: 4.375 kB / 445.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1036, allocations: 115.8 kB / 445.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1036, allocations: 7.938 kB / 445.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1036, allocations: 0 / 445.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1037, allocations: 0 / 445.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.1038, allocations: 23.97 kB / 445.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1039, allocations: 161.6 kB / 445.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1041, allocations: 62.48 kB / 445.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.1041, allocations: 24.94 kB / 445.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1042, allocations: 3.984 kB / 445.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.1042, allocations: 34.56 kB / 445.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1042, allocations: 0 / 445.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002035/0.1044, allocations: 77.61 kB / 445.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1045, allocations: 51.41 kB / 445.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.1045, allocations: 109.8 kB / 445.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.1045, allocations: 29.7 kB / 445.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.1046, allocations: 80.14 kB / 445.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.1046, allocations: 7.938 kB / 445.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.1046, allocations: 4 kB / 445.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.1047, allocations: 310.8 kB / 446.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.1047, allocations: 7.984 kB / 446.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.1047, allocations: 27.44 kB / 446.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.1047, allocations: 35.38 kB / 446.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1047, allocations: 0 / 446.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.15e-05/0.1048, allocations: 57.53 kB / 446.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1048, allocations: 16 kB / 446.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1048, allocations: 4 kB / 446.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1049, allocations: 0 / 446.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.1049, allocations: 8 kB / 446.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1049, allocations: 0 / 446.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.1049, allocations: 7.922 kB / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.105, allocations: 4.25 kB / 446.4 MB, free: 11.84 MB / 298.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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.105, allocations: 117.8 kB / 446.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.1051, allocations: 61.91 kB / 446.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.1052, allocations: 7.953 kB / 446.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1052, allocations: 3.984 kB / 446.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1052, allocations: 7.984 kB / 446.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1052, allocations: 0 / 446.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.32e-05/0.1052, allocations: 153.7 kB / 446.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1052, allocations: 0 / 446.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.1053, allocations: 8 kB / 446.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1053, allocations: 3.938 kB / 446.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1053, allocations: 7.922 kB / 446.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1053, allocations: 4 kB / 446.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1053, allocations: 3.938 kB / 446.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.1055, allocations: 85.03 kB / 446.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.1055, allocations: 85.09 kB / 446.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1055, allocations: 3.938 kB / 446.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.1055, allocations: 4 kB / 446.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-06/0.1056, allocations: 4 kB / 446.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1056, allocations: 0 / 446.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.182e-05/0.1056, allocations: 87.27 kB / 447 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1056, allocations: 0 / 447 MB, free: 11.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.1058, allocations: 4 kB / 447 MB, free: 11.09 MB / 298.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: 3 (step.y,assignClock1.u,assignClock1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003425/0.1061, allocations: 0.6279 MB / 447.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1063, allocations: 23.98 kB / 447.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1063, allocations: 0 / 447.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1063, allocations: 3.938 kB / 447.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1065, allocations: 25.66 kB / 447.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.1073, allocations: 1.157 MB / 448.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.1075, allocations: 0.6887 MB / 449.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.217e-05/0.1075, allocations: 0 / 449.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1076, allocations: 15.44 kB / 449.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1076, allocations: 0 / 449.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.1191, allocations: 1.05 MB / 450.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.1193, allocations: 233.2 kB / 450.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.703, allocations: 0 / 450.8 MB, free: 7.078 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat