Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") [: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.002791/0.002791, allocations: 175 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 1.882/1.882, 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.001245/0.001245, allocations: 94.75 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.09547/0.09548, allocations: 12.59 MB / 322.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.208e-05/1.236e-05, allocations: 0 / 378.4 MB, free: 76.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08295, allocations: 50.38 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/0.368, allocations: 77.26 MB / 0.4941 GB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.3683, allocations: 78.3 kB / 0.4942 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005221/0.3735, allocations: 0.9818 MB / 0.4952 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.3736, allocations: 8 kB / 0.4952 GB, free: 11.58 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.0005282/0.3741, allocations: 361.3 kB / 0.4955 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3742, allocations: 11.53 kB / 0.4955 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.3742, allocations: 7.844 kB / 0.4956 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3745, allocations: 177.6 kB / 0.4957 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3745, allocations: 3.875 kB / 0.4957 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3745, allocations: 3.938 kB / 0.4957 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000117/0.3746, allocations: 32.64 kB / 0.4958 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.375, allocations: 121.7 kB / 0.4959 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.375, allocations: 0 / 0.4959 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.375, allocations: 1.031 kB / 0.4959 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3751, allocations: 0 / 0.4959 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.3752, allocations: 138 kB / 0.496 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3753, allocations: 127.2 kB / 0.4961 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.3754, allocations: 30.75 kB / 0.4962 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3755, allocations: 0 / 0.4962 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.3755, allocations: 39.44 kB / 0.4962 GB, free: 10.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3755, allocations: 0 / 0.4962 GB, free: 10.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001806/0.3757, allocations: 53.03 kB / 0.4962 GB, free: 10.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3757, allocations: 59.41 kB / 0.4963 GB, free: 10.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.13e-05/0.3758, allocations: 106.2 kB / 0.4964 GB, free: 10.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3758, allocations: 29.64 kB / 0.4964 GB, free: 10.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.3759, allocations: 150.6 kB / 0.4966 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.3759, allocations: 0.7031 kB / 0.4966 GB, free: 10.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.3759, allocations: 0 / 0.4966 GB, free: 10.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.376, allocations: 319.8 kB / 0.4969 GB, free: 9.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.376, allocations: 3.969 kB / 0.4969 GB, free: 9.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.376, allocations: 48.22 kB / 0.4969 GB, free: 9.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.3761, allocations: 12.91 kB / 0.4969 GB, free: 9.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3761, allocations: 0 / 0.4969 GB, free: 9.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001163/0.3762, allocations: 64.84 kB / 0.497 GB, free: 9.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3762, allocations: 9.594 kB / 0.497 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3763, allocations: 0 / 0.497 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3763, allocations: 7.781 kB / 0.497 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.3764, allocations: 9.141 kB / 0.497 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3764, allocations: 0.75 kB / 0.497 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.3764, allocations: 3.938 kB / 0.497 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3764, allocations: 3.844 kB / 0.497 GB, free: 9.836 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.777e-05/0.3765, allocations: 33.64 kB / 0.4971 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3766, allocations: 61.11 kB / 0.4971 GB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.3767, allocations: 11.47 kB / 0.4971 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3767, allocations: 0 / 0.4971 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3767, allocations: 0.7969 kB / 0.4971 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3767, allocations: 0 / 0.4971 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.51e-05/0.3768, allocations: 146.7 kB / 0.4973 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3768, allocations: 0 / 0.4973 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.3769, allocations: 9.656 kB / 0.4973 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3769, allocations: 0 / 0.4973 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3769, allocations: 8.734 kB / 0.4973 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.377, allocations: 0 / 0.4973 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.377, allocations: 0.5156 kB / 0.4973 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001313/0.3771, allocations: 93.77 kB / 0.4974 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.3771, allocations: 81.81 kB / 0.4975 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3772, allocations: 0 / 0.4975 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3774, allocations: 19.64 kB / 0.4975 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.3774, allocations: 3.906 kB / 0.4975 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.3774, allocations: 0.6562 kB / 0.4975 GB, free: 9.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.847e-05/0.3774, allocations: 83.77 kB / 0.4976 GB, free: 9.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.3777, allocations: 7.719 kB / 0.4976 GB, free: 9.34 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.484e-05/0.3778, allocations: 102.9 kB / 0.4977 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.3779, allocations: 33.44 kB / 0.4977 GB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3779, allocations: 0 / 0.4977 GB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.3779, allocations: 0 / 0.4977 GB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3783, allocations: 40.11 kB / 0.4977 GB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.3785, allocations: 110.5 kB / 0.4979 GB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.3787, allocations: 0.6996 MB / 0.4985 GB, free: 8.414 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3787, allocations: 7.938 kB / 0.4985 GB, free: 8.406 MB / 330.7 MB Notification: Performance of Templates: time 0.002569/0.3813, allocations: 0.7458 MB / 0.4993 GB, free: 8.375 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches