Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") [: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.002487/0.002487, allocations: 172.3 kB / 8.187 MB, free: 2.188 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.833/1.833, 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.001766/0.001766, allocations: 94 kB / 261.8 MB, free: 13.62 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.09338/0.09338, allocations: 12.59 MB / 322.4 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.785e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08322, allocations: 50.37 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/0.3623, allocations: 77.51 MB / 0.4944 GB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.3626, allocations: 75.23 kB / 0.4945 GB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007486/0.3701, allocations: 1.652 MB / 0.4961 GB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3702, allocations: 4 kB / 0.4961 GB, free: 11.53 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003529/0.3706, allocations: 351.4 kB / 0.4964 GB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3706, allocations: 12.28 kB / 0.4964 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.3707, allocations: 15.66 kB / 0.4964 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.3709, allocations: 189.6 kB / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3709, allocations: 3.812 kB / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.371, allocations: 0 / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001296/0.3711, allocations: 18.91 kB / 0.4966 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3713, allocations: 90.91 kB / 0.4967 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3713, allocations: 5.219 kB / 0.4967 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3714, allocations: 3.938 kB / 0.4967 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3714, allocations: 0 / 0.4967 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3717, allocations: 249 kB / 0.497 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.382e-05/0.3718, allocations: 42.3 kB / 0.497 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.3719, allocations: 13.66 kB / 0.497 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3719, allocations: 3.844 kB / 0.497 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3719, allocations: 32.02 kB / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.3719, allocations: 0 / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.3721, allocations: 50.53 kB / 0.4971 GB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3722, allocations: 81.11 kB / 0.4972 GB, free: 10.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3723, allocations: 117.5 kB / 0.4973 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3723, allocations: 31.22 kB / 0.4973 GB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.3723, allocations: 158.3 kB / 0.4975 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.3724, allocations: 0 / 0.4975 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.3724, allocations: 0 / 0.4975 GB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.3724, allocations: 310.8 kB / 0.4978 GB, free: 9.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.3725, allocations: 9.031 kB / 0.4978 GB, free: 9.805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.3725, allocations: 13.66 kB / 0.4978 GB, free: 9.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.3725, allocations: 6.75 kB / 0.4978 GB, free: 9.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3725, allocations: 0 / 0.4978 GB, free: 9.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.615e-05/0.3726, allocations: 54.25 kB / 0.4979 GB, free: 9.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3727, allocations: 6.031 kB / 0.4979 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3727, allocations: 1.359 kB / 0.4979 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3727, allocations: 4.125 kB / 0.4979 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3728, allocations: 8.922 kB / 0.4979 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3728, allocations: 0 / 0.4979 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.3729, allocations: 9.578 kB / 0.4979 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3729, allocations: 0 / 0.4979 GB, free: 9.738 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.877e-05/0.373, allocations: 27.42 kB / 0.4979 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.373, allocations: 46.38 kB / 0.498 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.3731, allocations: 16.75 kB / 0.498 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3731, allocations: 0 / 0.498 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3731, allocations: 5.406 kB / 0.498 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3731, allocations: 3.984 kB / 0.498 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.3733, allocations: 144.8 kB / 0.4981 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3733, allocations: 0 / 0.4981 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.3734, allocations: 5.016 kB / 0.4981 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3734, allocations: 3.875 kB / 0.4981 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3734, allocations: 1.219 kB / 0.4981 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3734, allocations: 0 / 0.4981 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3734, allocations: 4 kB / 0.4981 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001175/0.3736, allocations: 164.5 kB / 0.4983 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.3736, allocations: 96.52 kB / 0.4984 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3737, allocations: 0 / 0.4984 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3738, allocations: 13.58 kB / 0.4984 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.3738, allocations: 0 / 0.4984 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3738, allocations: 1.688 kB / 0.4984 GB, free: 9.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.686e-05/0.3739, allocations: 101.7 kB / 0.4985 GB, free: 9.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000252/0.3742, allocations: 7.688 kB / 0.4985 GB, free: 9.141 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.166e-05/0.3743, allocations: 95.83 kB / 0.4986 GB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.787e-05/0.3744, allocations: 11.53 kB / 0.4986 GB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3744, allocations: 128 / 0.4986 GB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.3744, allocations: 9.469 kB / 0.4986 GB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.3747, allocations: 23.98 kB / 0.4986 GB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.3751, allocations: 120.5 kB / 0.4988 GB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.3753, allocations: 0.7052 MB / 0.4994 GB, free: 8.211 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3753, allocations: 0 / 0.4994 GB, free: 8.211 MB / 330.7 MB Notification: Performance of Templates: time 0.002539/0.3779, allocations: 0.7073 MB / 0.5001 GB, free: 8.176 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches