Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [: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.001627/0.001634, allocations: 183.4 kB / 8.193 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.759/1.759, 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.001306/0.001305, allocations: 96.23 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.09665/0.09665, allocations: 12.58 MB / 322.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.326e-06, allocations: 0 / 378.4 MB, free: 76.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08463, allocations: 50.37 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2883/0.373, allocations: 76.85 MB / 0.4937 GB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.3733, allocations: 68.64 kB / 0.4938 GB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.00475/0.3781, allocations: 0.9655 MB / 0.4948 GB, free: 11.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3782, allocations: 7.75 kB / 0.4948 GB, free: 11.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003923/0.3786, allocations: 361.8 kB / 0.4951 GB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3786, allocations: 11.69 kB / 0.4951 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.3787, allocations: 12.31 kB / 0.4951 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3789, allocations: 184.6 kB / 0.4953 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3789, allocations: 8.344 kB / 0.4953 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.379, allocations: 0 / 0.4953 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/0.3791, allocations: 24.84 kB / 0.4953 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3793, allocations: 119.9 kB / 0.4955 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3794, allocations: 4.75 kB / 0.4955 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3794, allocations: 0 / 0.4955 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3794, allocations: 0.6094 kB / 0.4955 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.3799, allocations: 356.8 kB / 0.4958 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.38, allocations: 60.92 kB / 0.4959 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.3801, allocations: 27.75 kB / 0.4959 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3801, allocations: 4.703 kB / 0.4959 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3802, allocations: 31.31 kB / 0.4959 GB, free: 10.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.295e-06/0.3802, allocations: 7.781 kB / 0.4959 GB, free: 10.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002581/0.3804, allocations: 64.88 kB / 0.496 GB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3805, allocations: 107.4 kB / 0.4961 GB, free: 10.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3806, allocations: 134 kB / 0.4962 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3807, allocations: 25.7 kB / 0.4962 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.3807, allocations: 154.5 kB / 0.4964 GB, free: 9.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.3807, allocations: 4.406 kB / 0.4964 GB, free: 9.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.3807, allocations: 0 / 0.4964 GB, free: 9.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.3808, allocations: 315.8 kB / 0.4967 GB, free: 9.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.3808, allocations: 4.453 kB / 0.4967 GB, free: 9.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.836e-05/0.3809, allocations: 36.34 kB / 0.4967 GB, free: 9.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.3809, allocations: 13.81 kB / 0.4967 GB, free: 9.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.381, allocations: 0 / 0.4967 GB, free: 9.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.3811, allocations: 60.52 kB / 0.4968 GB, free: 9.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3811, allocations: 4.328 kB / 0.4968 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3811, allocations: 4.125 kB / 0.4968 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3812, allocations: 3.844 kB / 0.4968 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3813, allocations: 18.19 kB / 0.4968 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3813, allocations: 0 / 0.4968 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.3814, allocations: 5.953 kB / 0.4968 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3814, allocations: 3.844 kB / 0.4968 GB, free: 9.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.614e-05/0.3815, allocations: 38.02 kB / 0.4969 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3816, allocations: 52.27 kB / 0.4969 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.3817, allocations: 12.56 kB / 0.4969 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.3817, allocations: 0.7969 kB / 0.4969 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3817, allocations: 3.906 kB / 0.4969 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3818, allocations: 0 / 0.4969 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.382, allocations: 148.8 kB / 0.4971 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.382, allocations: 0.6562 kB / 0.4971 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3821, allocations: 22.08 kB / 0.4971 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3822, allocations: 3.906 kB / 0.4971 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3822, allocations: 4 kB / 0.4971 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3822, allocations: 4.656 kB / 0.4971 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3822, allocations: 0 / 0.4971 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001642/0.3824, allocations: 262.1 kB / 0.4974 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.3825, allocations: 99.88 kB / 0.4975 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3825, allocations: 0.6094 kB / 0.4975 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3827, allocations: 9.531 kB / 0.4975 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.3827, allocations: 1.172 kB / 0.4975 GB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3827, allocations: 4.5 kB / 0.4975 GB, free: 8.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.648e-05/0.3828, allocations: 112.7 kB / 0.4976 GB, free: 8.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000315/0.3832, allocations: 7.75 kB / 0.4976 GB, free: 8.906 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001092/0.3833, allocations: 95.81 kB / 0.4977 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.3834, allocations: 27.19 kB / 0.4977 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3834, allocations: 0 / 0.4977 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.3835, allocations: 12.42 kB / 0.4977 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3839, allocations: 25.69 kB / 0.4977 GB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.3843, allocations: 149.9 kB / 0.4979 GB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.3845, allocations: 0.7106 MB / 0.4986 GB, free: 7.965 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3845, allocations: 0 / 0.4986 GB, free: 7.965 MB / 330.7 MB Notification: Performance of Templates: time 0.00288/0.3874, allocations: 0.8354 MB / 0.4994 GB, free: 7.914 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches