Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",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.001711/0.00171, allocations: 181.7 kB / 15.81 MB, free: 6.352 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.54/2.54, allocations: 205.4 MB / 221.9 MB, free: 13.86 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.00114/0.00114, allocations: 94.84 kB / 270.3 MB, free: 13.38 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.1581/0.1581, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.0005629, allocations: 15.06 kB / 392.1 MB, free: 54.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1017, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.002053/0.1038, allocations: 0.6561 MB / 443.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004801/0.1044, allocations: 116.5 kB / 443.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1045, allocations: 0 / 443.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.322e-05/0.1046, allocations: 4 kB / 443.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1048, allocations: 11.92 kB / 443.3 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1051, allocations: 27.97 kB / 443.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1053, allocations: 27.91 kB / 443.3 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1054, allocations: 12.19 kB / 443.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.1055, allocations: 19.86 kB / 443.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.1056, allocations: 11.94 kB / 443.4 MB, free: 9.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1056, allocations: 0 / 443.4 MB, free: 9.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.1056, allocations: 4 kB / 443.4 MB, free: 9.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1057, allocations: 15.91 kB / 443.4 MB, free: 9.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.1058, allocations: 37.64 kB / 443.4 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.1059, allocations: 31.94 kB / 443.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1059, allocations: 0 / 443.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1059, allocations: 0 / 443.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1059, allocations: 0 / 443.5 MB, free: 9.863 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005402/0.1065, allocations: 363.8 kB / 443.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.1066, allocations: 12.03 kB / 443.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.1067, allocations: 34.56 kB / 443.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.1067, allocations: 7.906 kB / 443.9 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.107, allocations: 194.9 kB / 444.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.107, allocations: 3.953 kB / 444.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.107, allocations: 12 kB / 444.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.1075, allocations: 127.2 kB / 444.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1075, allocations: 3.984 kB / 444.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1076, allocations: 0 / 444.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1076, allocations: 0 / 444.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.653e-05/0.1077, allocations: 19.92 kB / 444.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.1079, allocations: 173.6 kB / 444.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1082, allocations: 66.67 kB / 444.5 MB, free: 8.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1082, allocations: 4 kB / 444.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1082, allocations: 30.56 kB / 444.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 3.206e-06/0.1083, allocations: 0 / 444.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003209/0.1086, allocations: 89.56 kB / 444.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1087, allocations: 59.41 kB / 444.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1089, allocations: 144.8 kB / 444.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1089, allocations: 29.7 kB / 444.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.109, allocations: 84.14 kB / 444.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.109, allocations: 11.98 kB / 444.9 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.109, allocations: 0 / 444.9 MB, free: 8.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.1091, allocations: 314.8 kB / 445.2 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.1092, allocations: 4 kB / 445.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.1093, allocations: 66.8 kB / 445.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.505e-05/0.1094, allocations: 16 kB / 445.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1094, allocations: 0 / 445.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002478/0.1096, allocations: 93.44 kB / 445.4 MB, free: 7.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1097, allocations: 8 kB / 445.4 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1097, allocations: 0 / 445.4 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1098, allocations: 7.938 kB / 445.4 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1099, allocations: 12 kB / 445.4 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.11, allocations: 7.984 kB / 445.4 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.1101, allocations: 11.84 kB / 445.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1101, allocations: 4.25 kB / 445.4 MB, free: 7.637 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001511/0.1103, allocations: 125.6 kB / 445.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.1105, allocations: 77.69 kB / 445.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.1106, allocations: 12.72 kB / 445.6 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1106, allocations: 0 / 445.6 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1106, allocations: 0 / 445.6 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1106, allocations: 0 / 445.6 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1108, allocations: 177.6 kB / 445.8 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1108, allocations: 0 / 445.8 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.111, allocations: 15.94 kB / 445.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.111, allocations: 8 kB / 445.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.111, allocations: 3.953 kB / 445.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.111, allocations: 3.984 kB / 445.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1111, allocations: 0 / 445.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1113, allocations: 97.03 kB / 445.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.1114, allocations: 89 kB / 446 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1115, allocations: 8 kB / 446 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.1115, allocations: 3.953 kB / 446 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-06/0.1115, allocations: 4 kB / 446 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1116, allocations: 4.188 kB / 446 MB, free: 6.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1117, allocations: 107.2 kB / 446.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.1117, allocations: 3.938 kB / 446.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.1122, allocations: 8 kB / 446.2 MB, free: 6.797 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000578/0.1128, allocations: 0.6554 MB / 446.8 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.113, allocations: 44.41 kB / 446.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.113, allocations: 0 / 446.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1131, allocations: 0 / 446.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.1136, allocations: 43.72 kB / 446.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.115, allocations: 1.562 MB / 448.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1153, allocations: 0.7004 MB / 449.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.1154, allocations: 11.94 kB / 449.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.1155, allocations: 15.44 kB / 449.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of SimCode: time 1.864e-06/0.1155, allocations: 0 / 449.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.1403, allocations: 1.497 MB / 450.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/0.1406, allocations: 209.2 kB / 450.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/2.59, allocations: 0 / 450.9 MB, free: 1.898 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat