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.001589/0.001593, allocations: 186.7 kB / 15.81 MB, free: 6.027 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.343/2.343, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001192/0.001192, allocations: 94.78 kB / 270.3 MB, free: 13.34 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.1005/0.1005, allocations: 12.59 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005505/0.0005507, allocations: 12.44 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1086, allocations: 50.37 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002157/0.1108, allocations: 1.133 MB / 443.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.111, allocations: 35.84 kB / 443.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.1111, allocations: 4 kB / 443.6 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1112, allocations: 0 / 443.6 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.1112, allocations: 3.938 kB / 443.7 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1116, allocations: 23.91 kB / 443.7 MB, free: 9.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.1117, allocations: 11.98 kB / 443.7 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1118, allocations: 12.3 kB / 443.7 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.1119, allocations: 7.938 kB / 443.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.1119, allocations: 15.92 kB / 443.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.112, allocations: 4 kB / 443.7 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.112, allocations: 4 kB / 443.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.112, allocations: 0 / 443.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1121, allocations: 25.7 kB / 443.8 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.593e-05/0.1122, allocations: 19.95 kB / 443.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1122, allocations: 4 kB / 443.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1122, allocations: 0 / 443.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1122, allocations: 3.938 kB / 443.8 MB, free: 9.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004456/0.1127, allocations: 340.1 kB / 444.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.1127, allocations: 12.03 kB / 444.1 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.1128, allocations: 34.56 kB / 444.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1128, allocations: 3.906 kB / 444.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.113, allocations: 175 kB / 444.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.1131, allocations: 7.953 kB / 444.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1131, allocations: 3.938 kB / 444.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.1137, allocations: 119.3 kB / 444.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1137, allocations: 4 kB / 444.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1137, allocations: 0 / 444.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1138, allocations: 4 kB / 444.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.114, allocations: 27.97 kB / 444.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.1142, allocations: 157.6 kB / 444.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1145, allocations: 58.53 kB / 444.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1145, allocations: 3.953 kB / 444.7 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1146, allocations: 42.69 kB / 444.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.394e-06/0.1146, allocations: 0 / 444.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005383/0.1151, allocations: 93.53 kB / 444.8 MB, free: 8.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1152, allocations: 51.41 kB / 444.9 MB, free: 8.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.1153, allocations: 102 kB / 445 MB, free: 8.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1154, allocations: 25.7 kB / 445 MB, free: 8.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.1154, allocations: 88.12 kB / 445.1 MB, free: 7.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1154, allocations: 4 kB / 445.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1154, allocations: 0 / 445.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.1155, allocations: 318.8 kB / 445.4 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.1156, allocations: 4 kB / 445.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.1156, allocations: 35.48 kB / 445.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.1157, allocations: 4 kB / 445.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1157, allocations: 8 kB / 445.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001914/0.1159, allocations: 65.47 kB / 445.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.116, allocations: 11.95 kB / 445.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.116, allocations: 0 / 445.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.116, allocations: 0 / 445.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1161, allocations: 8 kB / 445.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1162, allocations: 0 / 445.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1162, allocations: 4 kB / 445.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1163, allocations: 3.938 kB / 445.6 MB, free: 7.457 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 0.0001255/0.1164, allocations: 133.6 kB / 445.7 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.1168, allocations: 61.67 kB / 445.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.1169, allocations: 11.86 kB / 445.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1169, allocations: 0 / 445.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1169, allocations: 0 / 445.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1169, allocations: 4 kB / 445.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1171, allocations: 161.6 kB / 445.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1172, allocations: 0 / 445.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1173, allocations: 8 kB / 445.9 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1173, allocations: 4 kB / 445.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1174, allocations: 0 / 445.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1174, allocations: 3.953 kB / 445.9 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1174, allocations: 3.984 kB / 445.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.1178, allocations: 96.95 kB / 446 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.1178, allocations: 77.11 kB / 446.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1179, allocations: 4 kB / 446.1 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.118, allocations: 7.984 kB / 446.1 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-06/0.118, allocations: 7.953 kB / 446.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.118, allocations: 0 / 446.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.902e-05/0.1181, allocations: 87.28 kB / 446.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1181, allocations: 0 / 446.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.1185, allocations: 4 kB / 446.2 MB, free: 6.688 MB / 282.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 () * Number of clocked states: 1 (step.counter) * 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.0008581/0.1194, allocations: 0.6481 MB / 446.9 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1197, allocations: 31.98 kB / 446.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1197, allocations: 0 / 446.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.1197, allocations: 0 / 446.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.1203, allocations: 43.58 kB / 446.9 MB, free: 5.941 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1215, allocations: 0.837 MB / 447.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.1217, allocations: 0.6848 MB / 448.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.1218, allocations: 4 kB / 448.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.1218, allocations: 15.44 kB / 448.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of SimCode: time 1.532e-06/0.1219, allocations: 3.938 kB / 448.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.1463, allocations: 1.141 MB / 449.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.1467, allocations: 218.5 kB / 449.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/2.626, allocations: 4 kB / 449.8 MB, free: 2.926 MB / 282.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