Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002436/0.002436, allocations: 181.3 kB / 8.194 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.2 MB / 213.8 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 94.59 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0961/0.0961, allocations: 12.59 MB / 322.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/8.947e-06, allocations: 4 kB / 378.4 MB, free: 76.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08305/0.08308, allocations: 50.37 MB / 428.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2827/0.3658, allocations: 77.04 MB / 0.4939 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.3662, allocations: 77.41 kB / 0.494 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005458/0.3716, allocations: 1.289 MB / 0.4953 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3717, allocations: 0 / 0.4953 GB, free: 11.59 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.0003365/0.3721, allocations: 380 kB / 0.4956 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3721, allocations: 7.875 kB / 0.4956 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.3722, allocations: 15.66 kB / 0.4956 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3724, allocations: 202.4 kB / 0.4958 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3724, allocations: 3.875 kB / 0.4958 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3724, allocations: 3.844 kB / 0.4958 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001401/0.3726, allocations: 35.98 kB / 0.4959 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.373, allocations: 193.3 kB / 0.4961 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.373, allocations: 1.125 kB / 0.4961 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3731, allocations: 0 / 0.4961 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3731, allocations: 3.969 kB / 0.4961 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.3732, allocations: 159.9 kB / 0.4962 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3735, allocations: 118.4 kB / 0.4963 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.3736, allocations: 65.58 kB / 0.4964 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3737, allocations: 3.875 kB / 0.4964 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.3737, allocations: 35.81 kB / 0.4964 GB, free: 10.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3737, allocations: 0 / 0.4964 GB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002676/0.374, allocations: 109.4 kB / 0.4965 GB, free: 10.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.374, allocations: 60.16 kB / 0.4966 GB, free: 10.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3742, allocations: 126.5 kB / 0.4967 GB, free: 10.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3742, allocations: 26.97 kB / 0.4967 GB, free: 10.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.3742, allocations: 154.8 kB / 0.4969 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.3743, allocations: 5.797 kB / 0.4969 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.3743, allocations: 0 / 0.4969 GB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.459e-05/0.3744, allocations: 324.9 kB / 0.4972 GB, free: 9.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.3744, allocations: 11.5 kB / 0.4972 GB, free: 9.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.3745, allocations: 120.2 kB / 0.4973 GB, free: 9.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.3746, allocations: 39.41 kB / 0.4974 GB, free: 9.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3746, allocations: 3.938 kB / 0.4974 GB, free: 9.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002343/0.3748, allocations: 123 kB / 0.4975 GB, free: 9.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3749, allocations: 3.719 kB / 0.4975 GB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3749, allocations: 7.781 kB / 0.4975 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3749, allocations: 7.719 kB / 0.4975 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.3751, allocations: 32.23 kB / 0.4975 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3751, allocations: 13.17 kB / 0.4975 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.3752, allocations: 11.59 kB / 0.4976 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3752, allocations: 7.656 kB / 0.4976 GB, free: 9.762 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.344e-05/0.3753, allocations: 37.11 kB / 0.4976 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.3755, allocations: 110.1 kB / 0.4977 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.3756, allocations: 18.62 kB / 0.4977 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3756, allocations: 7.781 kB / 0.4977 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3756, allocations: 0 / 0.4977 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3756, allocations: 1.359 kB / 0.4977 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.653e-05/0.3757, allocations: 164.5 kB / 0.4979 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3757, allocations: 0 / 0.4979 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3759, allocations: 22.08 kB / 0.4979 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3759, allocations: 3.812 kB / 0.4979 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.376, allocations: 0 / 0.4979 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.376, allocations: 1.219 kB / 0.4979 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.376, allocations: 7.844 kB / 0.4979 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002089/0.3762, allocations: 136.2 kB / 0.4981 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.3763, allocations: 109.8 kB / 0.4982 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.3763, allocations: 1.031 kB / 0.4982 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.3764, allocations: 0 / 0.4982 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-06/0.3764, allocations: 3.906 kB / 0.4982 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3764, allocations: 0 / 0.4982 GB, free: 9.316 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.382e-05/0.3765, allocations: 113.3 kB / 0.4983 GB, free: 9.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.3768, allocations: 15.53 kB / 0.4983 GB, free: 9.238 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 0.0001084/0.3769, allocations: 99.64 kB / 0.4984 GB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3771, allocations: 76.16 kB / 0.4985 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3771, allocations: 0 / 0.4985 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.584e-06/0.3771, allocations: 0 / 0.4985 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.3775, allocations: 70.81 kB / 0.4985 GB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.3779, allocations: 190.5 kB / 0.4987 GB, free: 9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.3782, allocations: 0.7438 MB / 0.4994 GB, free: 8.293 MB / 330.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3782, allocations: 0 / 0.4994 GB, free: 8.293 MB / 330.7 MB Notification: Performance of Templates: time 0.003403/0.3816, allocations: 1.185 MB / 0.5006 GB, free: 8.211 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches