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.001331/0.001331, allocations: 172.4 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.447/1.447, allocations: 205.4 MB / 222.3 MB, free: 9.008 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.0007936/0.0007939, allocations: 100.9 kB / 270.7 MB, free: 8.242 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.07369/0.07369, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 16 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09387, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.001179/0.0951, allocations: 0.6662 MB / 443.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.09541, allocations: 111.7 kB / 443.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.0955, allocations: 4 kB / 443.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.09555, allocations: 0 / 443.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.0957, allocations: 7.922 kB / 443.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.09593, allocations: 35.91 kB / 444 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.09604, allocations: 43.86 kB / 444 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.09615, allocations: 20.17 kB / 444 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.09618, allocations: 7.938 kB / 444 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.09623, allocations: 19.84 kB / 444.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.09625, allocations: 0 / 444.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.09627, allocations: 4 kB / 444.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.09632, allocations: 11.94 kB / 444.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.09637, allocations: 53.45 kB / 444.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.024e-05/0.09646, allocations: 48.08 kB / 444.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.09647, allocations: 3.984 kB / 444.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.09648, allocations: 0 / 444.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09649, allocations: 3.938 kB / 444.2 MB, free: 14.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003336/0.09682, allocations: 359.2 kB / 444.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.09687, allocations: 16.02 kB / 444.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.09691, allocations: 38.69 kB / 444.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.09694, allocations: 8.844 kB / 444.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.09711, allocations: 195.1 kB / 444.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.09712, allocations: 8.375 kB / 444.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.09714, allocations: 4.375 kB / 444.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.09738, allocations: 135.5 kB / 444.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.09739, allocations: 0 / 444.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.09741, allocations: 0 / 444.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.09742, allocations: 4 kB / 444.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.09746, allocations: 20 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.09757, allocations: 169.6 kB / 445.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.0977, allocations: 62.66 kB / 445.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.09776, allocations: 40.89 kB / 445.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.09778, allocations: 0 / 445.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.09781, allocations: 38.5 kB / 445.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.09782, allocations: 0 / 445.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001745/0.098, allocations: 93.72 kB / 445.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.09805, allocations: 55.41 kB / 445.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.09814, allocations: 137.8 kB / 445.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.09816, allocations: 25.7 kB / 445.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.09819, allocations: 92.08 kB / 445.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.09821, allocations: 3.906 kB / 445.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.09822, allocations: 8 kB / 445.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.09828, allocations: 318.8 kB / 446 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.0983, allocations: 8 kB / 446 MB, free: 12.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.09834, allocations: 54.86 kB / 446 MB, free: 12.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.0984, allocations: 74.75 kB / 446.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.09841, allocations: 0 / 446.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.695e-05/0.09851, allocations: 97.42 kB / 446.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.09854, allocations: 8.188 kB / 446.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.09855, allocations: 0 / 446.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.09857, allocations: 7.938 kB / 446.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.09864, allocations: 12 kB / 446.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.09865, allocations: 4 kB / 446.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.09869, allocations: 4.156 kB / 446.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.0987, allocations: 8 kB / 446.3 MB, free: 11.93 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/0.09877, allocations: 133.7 kB / 446.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.09885, allocations: 73.53 kB / 446.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.09889, allocations: 12.72 kB / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.09889, allocations: 0 / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.0989, allocations: 0 / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.09891, allocations: 3.938 kB / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.45e-05/0.09899, allocations: 173.6 kB / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.099, allocations: 0 / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.09905, allocations: 15.94 kB / 446.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.09906, allocations: 8 kB / 446.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.09908, allocations: 3.938 kB / 446.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09908, allocations: 0 / 446.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.09909, allocations: 0 / 446.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.09919, allocations: 105 kB / 446.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.09924, allocations: 96.94 kB / 446.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.09927, allocations: 4 kB / 446.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.09929, allocations: 4 kB / 446.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-06/0.0993, allocations: 0 / 446.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.09931, allocations: 4 kB / 446.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.09936, allocations: 101.8 kB / 447 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09937, allocations: 0 / 447 MB, free: 11.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.09957, allocations: 12 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: 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 (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.0003051/0.09988, allocations: 0.6553 MB / 447.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.895e-05/0.09998, allocations: 43.92 kB / 447.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1, allocations: 4 kB / 447.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1, allocations: 0 / 447.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1003, allocations: 51.88 kB / 447.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.1011, allocations: 1.362 MB / 449.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.1013, allocations: 0.7004 MB / 449.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.868e-05/0.1013, allocations: 11.95 kB / 449.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.1014, allocations: 15.44 kB / 449.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1014, allocations: 0 / 449.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.1128, allocations: 1.513 MB / 451.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.1129, allocations: 223 kB / 451.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.863, allocations: 3.906 kB / 451.6 MB, free: 6.289 MB / 298.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