Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") [: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.002381/0.00238, allocations: 175.4 kB / 8.192 MB, free: 2.191 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 2.022/2.022, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001284/0.001284, allocations: 99.8 kB / 261.8 MB, free: 13.64 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.09748/0.09748, allocations: 12.59 MB / 322.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.467e-06/9.618e-06, allocations: 4 kB / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08837, allocations: 50.37 MB / 428.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2923/0.3807, allocations: 76.92 MB / 0.4938 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.381, allocations: 74.83 kB / 0.4939 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004074/0.3851, allocations: 0.9107 MB / 0.4948 GB, free: 11.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3852, allocations: 11.72 kB / 0.4948 GB, free: 11.48 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.0002904/0.3855, allocations: 346.8 kB / 0.4951 GB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3855, allocations: 7.688 kB / 0.4951 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3856, allocations: 11.62 kB / 0.4951 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3858, allocations: 190.1 kB / 0.4953 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3858, allocations: 0 / 0.4953 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3858, allocations: 7.781 kB / 0.4953 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.285e-05/0.3859, allocations: 22.84 kB / 0.4953 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3862, allocations: 108 kB / 0.4954 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3862, allocations: 4.844 kB / 0.4955 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3862, allocations: 3.562 kB / 0.4955 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3863, allocations: 3.844 kB / 0.4955 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.3864, allocations: 150.3 kB / 0.4956 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3865, allocations: 51.69 kB / 0.4957 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.3866, allocations: 44.84 kB / 0.4957 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3867, allocations: 0 / 0.4957 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.3867, allocations: 31.97 kB / 0.4957 GB, free: 10.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3867, allocations: 0 / 0.4957 GB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001833/0.3869, allocations: 70.3 kB / 0.4958 GB, free: 10.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.3869, allocations: 55.28 kB / 0.4958 GB, free: 10.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3871, allocations: 122.1 kB / 0.496 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3871, allocations: 29.7 kB / 0.496 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.3871, allocations: 154.5 kB / 0.4961 GB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.3871, allocations: 1.547 kB / 0.4961 GB, free: 10.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3872, allocations: 0 / 0.4961 GB, free: 10.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.933e-05/0.3872, allocations: 320.1 kB / 0.4964 GB, free: 9.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.3873, allocations: 3.844 kB / 0.4964 GB, free: 9.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.3873, allocations: 59.83 kB / 0.4965 GB, free: 9.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.3874, allocations: 12.58 kB / 0.4965 GB, free: 9.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3874, allocations: 0 / 0.4965 GB, free: 9.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001349/0.3875, allocations: 81.84 kB / 0.4966 GB, free: 9.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3876, allocations: 6.406 kB / 0.4966 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3876, allocations: 3.844 kB / 0.4966 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3876, allocations: 3.844 kB / 0.4966 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3877, allocations: 16.89 kB / 0.4966 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3877, allocations: 5.094 kB / 0.4966 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.3878, allocations: 3.906 kB / 0.4966 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3878, allocations: 4.094 kB / 0.4966 GB, free: 9.785 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 4.791e-05/0.3879, allocations: 37.45 kB / 0.4967 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.388, allocations: 63.55 kB / 0.4967 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.388, allocations: 10.11 kB / 0.4967 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3881, allocations: 3.812 kB / 0.4967 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3881, allocations: 0 / 0.4967 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3881, allocations: 0.8438 kB / 0.4967 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.444e-05/0.3882, allocations: 154.4 kB / 0.4969 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3882, allocations: 3.938 kB / 0.4969 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3883, allocations: 13.56 kB / 0.4969 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3883, allocations: 4 kB / 0.4969 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3883, allocations: 3.984 kB / 0.4969 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3883, allocations: 0 / 0.4969 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3884, allocations: 1.219 kB / 0.4969 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001377/0.3885, allocations: 99.12 kB / 0.497 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.3886, allocations: 96.5 kB / 0.4971 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3886, allocations: 0 / 0.4971 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.052e-05/0.3887, allocations: 4 kB / 0.4971 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-06/0.3887, allocations: 5.359 kB / 0.4971 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.3887, allocations: 3.844 kB / 0.4971 GB, free: 9.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.799e-05/0.3888, allocations: 101.4 kB / 0.4972 GB, free: 9.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.389, allocations: 11.56 kB / 0.4972 GB, free: 9.27 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.0001004/0.3891, allocations: 96.02 kB / 0.4973 GB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.3892, allocations: 39.2 kB / 0.4974 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3893, allocations: 0 / 0.4974 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.3893, allocations: 4.281 kB / 0.4974 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3896, allocations: 40.33 kB / 0.4974 GB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3899, allocations: 128.6 kB / 0.4975 GB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.3901, allocations: 0.7135 MB / 0.4982 GB, free: 8.352 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3901, allocations: 0 / 0.4982 GB, free: 8.352 MB / 330.7 MB Notification: Performance of Templates: time 0.002742/0.3929, allocations: 0.7877 MB / 0.499 GB, free: 8.309 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches