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.002271/0.00227, allocations: 178.8 kB / 8.05 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.33/2.33, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001123/0.001123, allocations: 89.56 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.112/0.112, allocations: 12.59 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.501e-05, allocations: 0 / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 50.37 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5708, allocations: 77 MB / 0.4945 GB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5711, allocations: 79.69 kB / 0.4946 GB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004188/0.5753, allocations: 1.223 MB / 0.4958 GB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5754, allocations: 0 / 0.4958 GB, free: 11.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.5754, allocations: 11.88 kB / 0.4958 GB, free: 11.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003201/0.5758, allocations: 352.9 kB / 0.4962 GB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5758, allocations: 10.59 kB / 0.4962 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.5759, allocations: 11.41 kB / 0.4962 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.5761, allocations: 188.9 kB / 0.4964 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5761, allocations: 2.625 kB / 0.4964 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.5761, allocations: 7.797 kB / 0.4964 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.643e-05/0.5762, allocations: 18.22 kB / 0.4964 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.5765, allocations: 115.4 kB / 0.4965 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5765, allocations: 0 / 0.4965 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5765, allocations: 0 / 0.4965 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.842e-06/0.5766, allocations: 0 / 0.4965 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.5767, allocations: 148.8 kB / 0.4966 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.5769, allocations: 61.55 kB / 0.4967 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.5769, allocations: 33.61 kB / 0.4967 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.577, allocations: 7.891 kB / 0.4967 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.577, allocations: 37.06 kB / 0.4968 GB, free: 10.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.644e-06/0.577, allocations: 0 / 0.4968 GB, free: 10.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001884/0.5772, allocations: 62.73 kB / 0.4968 GB, free: 10.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.5773, allocations: 51.41 kB / 0.4969 GB, free: 10.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.5774, allocations: 123.2 kB / 0.497 GB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.5774, allocations: 25.7 kB / 0.497 GB, free: 10.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.5775, allocations: 94.83 kB / 0.4971 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.5775, allocations: 2.953 kB / 0.4971 GB, free: 10.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.5775, allocations: 0 / 0.4971 GB, free: 10.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.5776, allocations: 321.9 kB / 0.4974 GB, free: 9.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.5776, allocations: 7.188 kB / 0.4974 GB, free: 9.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.5777, allocations: 58.38 kB / 0.4975 GB, free: 9.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.5777, allocations: 13.62 kB / 0.4975 GB, free: 9.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5777, allocations: 0 / 0.4975 GB, free: 9.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001395/0.5779, allocations: 80.58 kB / 0.4976 GB, free: 9.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5779, allocations: 7.875 kB / 0.4976 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5779, allocations: 3.953 kB / 0.4976 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5779, allocations: 7.781 kB / 0.4976 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5781, allocations: 19.44 kB / 0.4976 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5781, allocations: 2.719 kB / 0.4976 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.5781, allocations: 8.031 kB / 0.4976 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.5782, allocations: 7.844 kB / 0.4976 GB, free: 9.707 MB / 330.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 () * 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 6.129e-05/0.5782, allocations: 101 kB / 0.4977 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001146/0.5784, allocations: 73.12 kB / 0.4978 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.5784, allocations: 11.73 kB / 0.4978 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.5785, allocations: 7.5 kB / 0.4978 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5785, allocations: 7.016 kB / 0.4978 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5785, allocations: 0 / 0.4978 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5785, allocations: 0.875 kB / 0.4978 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.5786, allocations: 150.4 kB / 0.498 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5786, allocations: 4 kB / 0.498 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.5787, allocations: 11.53 kB / 0.498 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5787, allocations: 0 / 0.498 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5788, allocations: 3.953 kB / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5788, allocations: 3.938 kB / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5788, allocations: 0 / 0.498 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.5789, allocations: 103 kB / 0.4981 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.579, allocations: 87.95 kB / 0.4982 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.579, allocations: 7.969 kB / 0.4982 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.858e-05/0.5791, allocations: 3.953 kB / 0.4982 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.5791, allocations: 3.984 kB / 0.4982 GB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.5791, allocations: 3.312 kB / 0.4982 GB, free: 9.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.77e-05/0.5792, allocations: 111 kB / 0.4983 GB, free: 9.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5792, allocations: 0 / 0.4983 GB, free: 9.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.5795, allocations: 7.5 kB / 0.4983 GB, free: 9.125 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: 0 () * Number of discrete states: 0 () * 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.0003872/0.5799, allocations: 0.6432 MB / 0.4989 GB, free: 8.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.58, allocations: 43.34 kB / 0.499 GB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.58, allocations: 0 / 0.499 GB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.58, allocations: 0 / 0.499 GB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.5804, allocations: 30.59 kB / 0.499 GB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.5808, allocations: 144.9 kB / 0.4991 GB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.581, allocations: 0.7078 MB / 0.4998 GB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.581, allocations: 3.938 kB / 0.4998 GB, free: 7.688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.5811, allocations: 25.95 kB / 0.4999 GB, free: 7.676 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5811, allocations: 0 / 0.4999 GB, free: 7.676 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.618, allocations: 1.158 MB / 0.501 GB, free: 7.59 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000294/0.6184, allocations: 161.6 kB / 0.5011 GB, free: 7.398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.02, allocations: 0 / 0.5011 GB, free: 7.398 MB / 330.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