Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.001734/0.001733, allocations: 175.4 kB / 8.189 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.812/1.812, 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.001251/0.001251, allocations: 91.47 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.09614/0.09614, allocations: 12.58 MB / 322.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.693e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09165, allocations: 50.36 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4241, allocations: 76.55 MB / 0.4934 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4245, allocations: 69.69 kB / 0.4935 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001999/0.4265, allocations: 396.2 kB / 0.4939 GB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4265, 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.0002796/0.4268, allocations: 333.6 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4269, allocations: 8.234 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.4269, allocations: 3.812 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.4271, allocations: 174.1 kB / 0.4944 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4271, allocations: 3.688 kB / 0.4944 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.4271, allocations: 0 / 0.4944 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.243e-05/0.4272, allocations: 21.16 kB / 0.4944 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.4274, allocations: 97.58 kB / 0.4945 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4274, allocations: 0.8438 kB / 0.4945 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.4275, allocations: 0 / 0.4945 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4275, allocations: 0 / 0.4945 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.4276, allocations: 136.7 kB / 0.4946 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.839e-05/0.4277, allocations: 39.28 kB / 0.4947 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.4278, allocations: 15.36 kB / 0.4947 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4278, allocations: 3.781 kB / 0.4947 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4278, allocations: 34.91 kB / 0.4947 GB, free: 10.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.4278, allocations: 0 / 0.4947 GB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001471/0.428, allocations: 54.38 kB / 0.4948 GB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.428, allocations: 51.41 kB / 0.4948 GB, free: 10.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.4281, allocations: 101.5 kB / 0.4949 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.4281, allocations: 25.7 kB / 0.4949 GB, free: 10.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.4281, allocations: 150.6 kB / 0.4951 GB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.4282, allocations: 1.641 kB / 0.4951 GB, free: 10.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.4282, allocations: 0 / 0.4951 GB, free: 10.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.4282, allocations: 317.6 kB / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.4283, allocations: 0 / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.4283, allocations: 28.44 kB / 0.4954 GB, free: 10.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/0.4283, allocations: 7.969 kB / 0.4954 GB, free: 10.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4283, allocations: 0 / 0.4954 GB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.157e-05/0.4284, allocations: 51.06 kB / 0.4955 GB, free: 10.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4284, allocations: 7.688 kB / 0.4955 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4285, allocations: 5.438 kB / 0.4955 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4285, allocations: 1 kB / 0.4955 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.4285, allocations: 15.66 kB / 0.4955 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4286, allocations: 1.312 kB / 0.4955 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.4286, allocations: 3.812 kB / 0.4955 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.4286, allocations: 0 / 0.4955 GB, free: 10.09 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.243e-05/0.4287, allocations: 33.45 kB / 0.4955 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.4287, allocations: 43.23 kB / 0.4956 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.4288, allocations: 8.094 kB / 0.4956 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4288, allocations: 0 / 0.4956 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4288, allocations: 4 kB / 0.4956 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4288, allocations: 7.938 kB / 0.4956 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.4289, allocations: 141.3 kB / 0.4957 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4289, allocations: 1.406 kB / 0.4957 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.602e-05/0.429, allocations: 8.797 kB / 0.4957 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.429, allocations: 0 / 0.4957 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.429, allocations: 0 / 0.4957 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.429, allocations: 3.812 kB / 0.4958 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.429, allocations: 1.078 kB / 0.4958 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9e-05/0.4291, allocations: 74.95 kB / 0.4958 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.4292, allocations: 88.86 kB / 0.4959 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4292, allocations: 1.406 kB / 0.4959 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.4293, allocations: 3.781 kB / 0.4959 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.4293, allocations: 0 / 0.4959 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4293, allocations: 1.453 kB / 0.4959 GB, free: 9.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.887e-05/0.4293, allocations: 82.44 kB / 0.496 GB, free: 9.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.4295, allocations: 3.906 kB / 0.496 GB, free: 9.594 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 7.919e-05/0.4296, allocations: 103.8 kB / 0.4961 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.4297, allocations: 20.41 kB / 0.4961 GB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4297, allocations: 3.938 kB / 0.4961 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.4297, allocations: 0 / 0.4961 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.4299, allocations: 15.42 kB / 0.4961 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/0.4301, allocations: 94.53 kB / 0.4962 GB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.4303, allocations: 0.6978 MB / 0.4969 GB, free: 8.68 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4303, allocations: 0 / 0.4969 GB, free: 8.68 MB / 330.7 MB Notification: Performance of Templates: time 0.002047/0.4323, allocations: 0.5534 MB / 0.4974 GB, free: 8.656 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches