Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") [: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.002214/0.002213, allocations: 179.2 kB / 8.194 MB, free: 2.176 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.653/1.653, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.00127/0.00127, allocations: 88.42 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.09411/0.09411, allocations: 12.6 MB / 322.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.364e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08324, allocations: 50.38 MB / 428.7 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3533, allocations: 76.53 MB / 0.4934 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3536, allocations: 77.69 kB / 0.4935 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001845/0.3554, allocations: 360.7 kB / 0.4939 GB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3555, allocations: 0 / 0.4939 GB, free: 11.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002472/0.3557, allocations: 324.9 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3558, allocations: 8.328 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3558, allocations: 3.844 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.356, allocations: 179 kB / 0.4943 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.356, allocations: 1.375 kB / 0.4943 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3561, allocations: 7.859 kB / 0.4944 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.694e-05/0.3561, allocations: 15.62 kB / 0.4944 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3563, allocations: 84.08 kB / 0.4944 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3564, allocations: 4.469 kB / 0.4945 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3564, allocations: 0 / 0.4945 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3564, allocations: 4 kB / 0.4945 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.886e-05/0.3565, allocations: 139.2 kB / 0.4946 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.3566, allocations: 35.09 kB / 0.4946 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.3567, allocations: 16.69 kB / 0.4946 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3567, allocations: 5.109 kB / 0.4946 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.3567, allocations: 34.38 kB / 0.4947 GB, free: 10.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.3567, allocations: 4 kB / 0.4947 GB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001369/0.3569, allocations: 50.78 kB / 0.4947 GB, free: 10.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.3569, allocations: 54.67 kB / 0.4948 GB, free: 10.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.357, allocations: 95.11 kB / 0.4949 GB, free: 10.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.357, allocations: 25.7 kB / 0.4949 GB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.357, allocations: 150.6 kB / 0.495 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.3571, allocations: 4.547 kB / 0.495 GB, free: 10.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.3571, allocations: 0 / 0.495 GB, free: 10.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.3571, allocations: 315.5 kB / 0.4953 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.3571, allocations: 3.25 kB / 0.4953 GB, free: 10.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.3572, allocations: 24.08 kB / 0.4954 GB, free: 10.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.227e-05/0.3572, allocations: 8.141 kB / 0.4954 GB, free: 10.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3572, allocations: 3.938 kB / 0.4954 GB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.49e-05/0.3573, allocations: 55.84 kB / 0.4954 GB, free: 10.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3573, allocations: 5.719 kB / 0.4954 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3573, allocations: 0 / 0.4954 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3574, allocations: 7.781 kB / 0.4954 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.3574, allocations: 1.406 kB / 0.4954 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3574, allocations: 3.844 kB / 0.4955 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.3575, allocations: 0.5 kB / 0.4955 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.3575, allocations: 7.156 kB / 0.4955 GB, free: 10.1 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 4.012e-05/0.3575, allocations: 31.05 kB / 0.4955 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.3576, allocations: 47.03 kB / 0.4955 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.3576, allocations: 3.938 kB / 0.4955 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3577, allocations: 0 / 0.4955 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3577, allocations: 9.328 kB / 0.4955 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3577, allocations: 0 / 0.4955 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.648e-05/0.3578, allocations: 136.8 kB / 0.4957 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3578, allocations: 5.688 kB / 0.4957 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.3578, allocations: 0 / 0.4957 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3578, allocations: 3.906 kB / 0.4957 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3578, allocations: 0 / 0.4957 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3578, allocations: 4 kB / 0.4957 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3579, allocations: 4.062 kB / 0.4957 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.707e-05/0.3579, allocations: 76.58 kB / 0.4958 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.358, allocations: 77.11 kB / 0.4958 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.358, allocations: 3.625 kB / 0.4958 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.3581, allocations: 1.828 kB / 0.4958 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-06/0.3581, allocations: 0 / 0.4958 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.3581, allocations: 4 kB / 0.4959 GB, free: 9.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.549e-05/0.3581, allocations: 86.56 kB / 0.4959 GB, free: 9.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.3583, allocations: 3.844 kB / 0.4959 GB, free: 9.602 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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 8.045e-05/0.3584, allocations: 104.4 kB / 0.496 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.3585, allocations: 14.88 kB / 0.4961 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3585, allocations: 0 / 0.4961 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.3585, allocations: 0 / 0.4961 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.3587, allocations: 16.69 kB / 0.4961 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.3589, allocations: 99.02 kB / 0.4962 GB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3591, allocations: 0.6923 MB / 0.4968 GB, free: 8.691 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3591, allocations: 0 / 0.4968 GB, free: 8.691 MB / 330.7 MB Notification: Performance of Templates: time 0.002048/0.3611, allocations: 0.5413 MB / 0.4974 GB, free: 8.664 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches