Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009765/0.0009764, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.512/1.512, allocations: 205.2 MB / 219 MB, free: 9.203 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.0009152/0.000915, allocations: 93.84 kB / 267.1 MB, free: 9.273 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.09023/0.09022, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.383e-05/6.385e-05, allocations: 8 kB / 386 MB, free: 69.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4696, allocations: 77.78 MB / 0.5021 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4699, allocations: 77.94 kB / 0.5022 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003707/0.4737, allocations: 1.609 MB / 0.5038 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4737, allocations: 3.844 kB / 0.5038 GB, free: 11.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4737, allocations: 3.25 kB / 0.5038 GB, free: 11.55 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003098/0.474, allocations: 363.3 kB / 0.5041 GB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4741, allocations: 11.53 kB / 0.5041 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4741, allocations: 19.53 kB / 0.5041 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.4743, allocations: 201.2 kB / 0.5043 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4743, allocations: 10.59 kB / 0.5043 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.4744, allocations: 10.09 kB / 0.5043 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.4747, allocations: 200.9 kB / 0.5045 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4747, allocations: 0 / 0.5045 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4747, allocations: 3.875 kB / 0.5045 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4747, allocations: 0 / 0.5045 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.537e-05/0.4748, allocations: 36.77 kB / 0.5046 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.475, allocations: 187.4 kB / 0.5048 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.4752, allocations: 129.9 kB / 0.5049 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.4753, allocations: 71.58 kB / 0.5049 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.4753, allocations: 0 / 0.5049 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.4753, allocations: 44.45 kB / 0.505 GB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.4753, allocations: 3.844 kB / 0.505 GB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002005/0.4755, allocations: 116.4 kB / 0.5051 GB, free: 10.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4756, allocations: 61.39 kB / 0.5052 GB, free: 10.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.4757, allocations: 136.6 kB / 0.5053 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.4757, allocations: 25.7 kB / 0.5053 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.4757, allocations: 92.94 kB / 0.5054 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.4757, allocations: 13.67 kB / 0.5054 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.4757, allocations: 3.562 kB / 0.5054 GB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.4758, allocations: 320.9 kB / 0.5057 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.4758, allocations: 22.38 kB / 0.5057 GB, free: 9.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.4759, allocations: 118.1 kB / 0.5059 GB, free: 9.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.476, allocations: 44.41 kB / 0.5059 GB, free: 9.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.476, allocations: 0 / 0.5059 GB, free: 9.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001614/0.4761, allocations: 148.2 kB / 0.506 GB, free: 9.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4762, allocations: 11.75 kB / 0.5061 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4762, allocations: 7.875 kB / 0.5061 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4762, allocations: 3.844 kB / 0.5061 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4763, allocations: 39.53 kB / 0.5061 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4763, allocations: 4.547 kB / 0.5061 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.4764, allocations: 15.62 kB / 0.5061 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4764, allocations: 7.688 kB / 0.5061 GB, free: 9.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 5.993e-05/0.4765, allocations: 119.4 kB / 0.5062 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4766, allocations: 115.4 kB / 0.5064 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.4766, allocations: 15.5 kB / 0.5064 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4767, allocations: 7.719 kB / 0.5064 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4767, allocations: 3.953 kB / 0.5064 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4767, allocations: 2.297 kB / 0.5064 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.942e-05/0.4768, allocations: 194.2 kB / 0.5066 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4768, allocations: 0 / 0.5066 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.4768, allocations: 21.5 kB / 0.5066 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4769, allocations: 5.688 kB / 0.5066 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.4769, allocations: 3.562 kB / 0.5066 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4769, allocations: 0 / 0.5066 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4769, allocations: 0 / 0.5066 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.477, allocations: 165.4 kB / 0.5068 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.4771, allocations: 99.47 kB / 0.5069 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4771, allocations: 6.422 kB / 0.5069 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.4772, allocations: 0 / 0.5069 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-06/0.4772, allocations: 0 / 0.5069 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4772, allocations: 7.594 kB / 0.5069 GB, free: 9.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.4772, allocations: 111.1 kB / 0.507 GB, free: 9.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4772, allocations: 0 / 0.507 GB, free: 9.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001996/0.4774, allocations: 22.94 kB / 0.507 GB, free: 9.117 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 (16): * Single equations (assignments): 16 * 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 8.239e-05/0.4775, allocations: 101.4 kB / 0.5071 GB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.4777, allocations: 86.45 kB / 0.5072 GB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4777, allocations: 8.781 kB / 0.5072 GB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.4777, allocations: 0 / 0.5072 GB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.478, allocations: 68.86 kB / 0.5072 GB, free: 9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.4783, allocations: 175.7 kB / 0.5074 GB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.4784, allocations: 0.7172 MB / 0.5081 GB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.4785, allocations: 7.531 kB / 0.5081 GB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.4785, allocations: 11.34 kB / 0.5081 GB, free: 8.199 MB / 330.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4785, allocations: 4 kB / 0.5081 GB, free: 8.195 MB / 330.7 MB Notification: Performance of Templates: time 0.002795/0.4813, allocations: 0.8915 MB / 0.509 GB, free: 8.098 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches