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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 190.4 kB / 7.847 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.2 MB / 213.5 MB, free: 13.85 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.0008917/0.0008918, allocations: 90.66 kB / 261.5 MB, free: 13.61 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.07508/0.07508, allocations: 12.59 MB / 322 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.202e-06, allocations: 0 / 378.4 MB, free: 75.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09643, allocations: 50.38 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3015/0.398, allocations: 77.04 MB / 0.494 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.3983, allocations: 77.86 kB / 0.494 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004007/0.4023, allocations: 1.283 MB / 0.4953 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.4023, allocations: 7.906 kB / 0.4953 GB, free: 11.58 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.0003181/0.4027, allocations: 365.2 kB / 0.4956 GB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.4027, allocations: 7.812 kB / 0.4956 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.4027, allocations: 20.25 kB / 0.4957 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.403, allocations: 208.5 kB / 0.4959 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.403, allocations: 3.844 kB / 0.4959 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.403, allocations: 4.75 kB / 0.4959 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.4031, allocations: 32.33 kB / 0.4959 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.4034, allocations: 199.7 kB / 0.4961 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.4035, allocations: 0 / 0.4961 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4035, allocations: 0 / 0.4961 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4035, allocations: 0 / 0.4961 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.4036, allocations: 166.4 kB / 0.4962 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4038, allocations: 111.6 kB / 0.4964 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.014e-05/0.4039, allocations: 68.39 kB / 0.4964 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.4039, allocations: 4.5 kB / 0.4964 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.404, allocations: 34.47 kB / 0.4965 GB, free: 10.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.404, allocations: 4 kB / 0.4965 GB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002072/0.4042, allocations: 108 kB / 0.4966 GB, free: 10.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4042, allocations: 60.25 kB / 0.4966 GB, free: 10.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.4043, allocations: 125 kB / 0.4967 GB, free: 10.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.4043, allocations: 25.7 kB / 0.4968 GB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.966e-05/0.4044, allocations: 89.41 kB / 0.4968 GB, free: 10.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.4044, allocations: 5.062 kB / 0.4969 GB, free: 10.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.4044, allocations: 0 / 0.4969 GB, free: 10.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.4045, allocations: 332 kB / 0.4972 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.4045, allocations: 15.59 kB / 0.4972 GB, free: 10.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.4046, allocations: 117.7 kB / 0.4973 GB, free: 9.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.4046, allocations: 38.52 kB / 0.4973 GB, free: 9.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4046, allocations: 0 / 0.4973 GB, free: 9.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001596/0.4048, allocations: 130.5 kB / 0.4975 GB, free: 9.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4048, allocations: 3.938 kB / 0.4975 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4048, allocations: 3.906 kB / 0.4975 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4049, allocations: 7.781 kB / 0.4975 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.405, allocations: 34.7 kB / 0.4975 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.405, allocations: 4.547 kB / 0.4975 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.405, allocations: 7.781 kB / 0.4975 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4051, allocations: 19.97 kB / 0.4975 GB, free: 9.812 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.764e-05/0.4051, allocations: 111.1 kB / 0.4976 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4052, allocations: 113.4 kB / 0.4978 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.4053, allocations: 16.77 kB / 0.4978 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4053, allocations: 4.609 kB / 0.4978 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4053, allocations: 0 / 0.4978 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4053, allocations: 0.7969 kB / 0.4978 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.684e-05/0.4054, allocations: 163.8 kB / 0.4979 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4054, allocations: 0 / 0.4979 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.4055, allocations: 26.59 kB / 0.498 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4055, allocations: 0 / 0.498 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.4056, allocations: 0.6562 kB / 0.498 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4056, allocations: 7.812 kB / 0.498 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4056, allocations: 0 / 0.498 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001494/0.4057, allocations: 134.2 kB / 0.4981 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.4058, allocations: 105.5 kB / 0.4982 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4058, allocations: 4 kB / 0.4982 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.4059, allocations: 0 / 0.4982 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-06/0.4059, allocations: 0.7031 kB / 0.4982 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.4059, allocations: 11.12 kB / 0.4982 GB, free: 9.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.911e-05/0.4059, allocations: 117.8 kB / 0.4983 GB, free: 9.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.4062, allocations: 11.53 kB / 0.4983 GB, free: 9.211 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.818e-05/0.4062, allocations: 91.67 kB / 0.4984 GB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.4064, allocations: 77.95 kB / 0.4985 GB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4064, allocations: 0 / 0.4985 GB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.4064, allocations: 1 kB / 0.4985 GB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.4067, allocations: 68.23 kB / 0.4986 GB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.407, allocations: 168.9 kB / 0.4987 GB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.4072, allocations: 0.7402 MB / 0.4994 GB, free: 8.301 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4072, allocations: 0 / 0.4994 GB, free: 8.301 MB / 330.7 MB Notification: Performance of Templates: time 0.00299/0.4102, allocations: 0.8573 MB / 0.5003 GB, free: 8.215 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