Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.003616/0.003622, allocations: 172.5 kB / 8.19 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 1.765/1.765, 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.001298/0.001297, allocations: 91.86 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.09589/0.09589, allocations: 12.59 MB / 322.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.867e-06/9.057e-06, allocations: 0 / 378.4 MB, free: 76.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08412/0.08416, allocations: 50.37 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/0.3684, allocations: 77.12 MB / 0.494 GB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.3687, allocations: 77.16 kB / 0.4941 GB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005313/0.374, allocations: 1.234 MB / 0.4953 GB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3741, allocations: 4 kB / 0.4953 GB, free: 11.69 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.0003097/0.3744, allocations: 358.8 kB / 0.4956 GB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3744, allocations: 11.53 kB / 0.4956 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.3745, allocations: 7.75 kB / 0.4957 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3747, allocations: 203.3 kB / 0.4958 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3748, allocations: 3.844 kB / 0.4959 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.3748, allocations: 5.516 kB / 0.4959 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.375, allocations: 34.66 kB / 0.4959 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.3754, allocations: 201.2 kB / 0.4961 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3754, allocations: 0.75 kB / 0.4961 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3755, allocations: 0 / 0.4961 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3755, allocations: 3.812 kB / 0.4961 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.3756, allocations: 155.4 kB / 0.4962 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.3759, allocations: 121 kB / 0.4963 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3761, allocations: 74.06 kB / 0.4964 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3761, allocations: 1.172 kB / 0.4964 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3761, allocations: 30.56 kB / 0.4965 GB, free: 10.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.3761, allocations: 3.875 kB / 0.4965 GB, free: 10.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002917/0.3764, allocations: 110 kB / 0.4966 GB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3765, allocations: 61.55 kB / 0.4966 GB, free: 10.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3766, allocations: 122.2 kB / 0.4967 GB, free: 10.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3767, allocations: 25.7 kB / 0.4968 GB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.3767, allocations: 150.9 kB / 0.4969 GB, free: 10.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3767, allocations: 14.11 kB / 0.4969 GB, free: 10.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.3767, allocations: 3.938 kB / 0.4969 GB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.3768, allocations: 319.8 kB / 0.4972 GB, free: 10.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.3769, allocations: 16.42 kB / 0.4972 GB, free: 10.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.377, allocations: 118.2 kB / 0.4974 GB, free: 9.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.582e-05/0.377, allocations: 39.73 kB / 0.4974 GB, free: 9.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3771, allocations: 3.844 kB / 0.4974 GB, free: 9.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002442/0.3773, allocations: 121.4 kB / 0.4975 GB, free: 9.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3773, allocations: 9.281 kB / 0.4975 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3774, allocations: 3.969 kB / 0.4975 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3774, allocations: 7.312 kB / 0.4975 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.6e-05/0.3774, allocations: 13.41 kB / 0.4975 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3775, allocations: 9.062 kB / 0.4976 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.3775, allocations: 7.781 kB / 0.4976 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3776, allocations: 7.688 kB / 0.4976 GB, free: 9.891 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: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * 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 8.441e-05/0.3777, allocations: 48.98 kB / 0.4976 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.3779, allocations: 104.2 kB / 0.4977 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.3779, allocations: 21.16 kB / 0.4977 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.378, allocations: 0 / 0.4977 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.378, allocations: 3.812 kB / 0.4977 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.378, allocations: 1.312 kB / 0.4977 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.3781, allocations: 151.8 kB / 0.4979 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3781, allocations: 0 / 0.4979 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.3781, allocations: 9.219 kB / 0.4979 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3782, allocations: 0 / 0.4979 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3782, allocations: 0 / 0.4979 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3782, allocations: 4.703 kB / 0.4979 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3782, allocations: 0 / 0.4979 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002184/0.3784, allocations: 140.8 kB / 0.498 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3786, allocations: 102.4 kB / 0.4981 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3786, allocations: 3.875 kB / 0.4981 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.3786, allocations: 0 / 0.4981 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-06/0.3787, allocations: 5.484 kB / 0.4981 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3787, allocations: 3.875 kB / 0.4981 GB, free: 9.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.75e-05/0.3788, allocations: 101.5 kB / 0.4982 GB, free: 9.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.379, allocations: 11.56 kB / 0.4982 GB, free: 9.379 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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * 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.0001209/0.3792, allocations: 101.7 kB / 0.4983 GB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3794, allocations: 84.52 kB / 0.4984 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3794, allocations: 1 kB / 0.4984 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3794, allocations: 0 / 0.4984 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.3799, allocations: 76.94 kB / 0.4985 GB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.3803, allocations: 187.7 kB / 0.4987 GB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3805, allocations: 0.7308 MB / 0.4994 GB, free: 8.434 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3806, allocations: 0 / 0.4994 GB, free: 8.434 MB / 330.7 MB Notification: Performance of Templates: time 0.003488/0.384, allocations: 1.175 MB / 0.5005 GB, free: 8.348 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches