Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 186.1 kB / 7.845 MB, free: 2.477 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 86.94 kB / 261.5 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07796/0.07796, allocations: 12.6 MB / 322 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.271e-06/6.302e-06, allocations: 0 / 378.4 MB, free: 75.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09639, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.3662, allocations: 76.48 MB / 0.4934 GB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.3665, allocations: 73.58 kB / 0.4935 GB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001782/0.3683, allocations: 446.7 kB / 0.4939 GB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3683, allocations: 0 / 0.4939 GB, free: 11.75 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.0002402/0.3686, allocations: 334.2 kB / 0.4942 GB, free: 11.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3686, allocations: 7.844 kB / 0.4942 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.3686, allocations: 0.7969 kB / 0.4942 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3688, allocations: 178.4 kB / 0.4944 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3688, allocations: 0 / 0.4944 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3689, allocations: 3.812 kB / 0.4944 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.377e-05/0.3689, allocations: 9.328 kB / 0.4944 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3691, allocations: 96.72 kB / 0.4945 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3691, allocations: 0 / 0.4945 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3691, allocations: 0 / 0.4945 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3692, allocations: 8.516 kB / 0.4945 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.576e-05/0.3693, allocations: 130.9 kB / 0.4946 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.3693, allocations: 39.14 kB / 0.4947 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.3694, allocations: 17.19 kB / 0.4947 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.3694, allocations: 4.75 kB / 0.4947 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.3694, allocations: 34.5 kB / 0.4947 GB, free: 10.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3694, allocations: 0 / 0.4947 GB, free: 10.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001279/0.3696, allocations: 51.61 kB / 0.4948 GB, free: 10.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3696, allocations: 55.77 kB / 0.4948 GB, free: 10.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.3697, allocations: 98.78 kB / 0.4949 GB, free: 10.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.3697, allocations: 25.7 kB / 0.495 GB, free: 10.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.506e-05/0.3697, allocations: 89.67 kB / 0.495 GB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.3697, allocations: 4.5 kB / 0.495 GB, free: 10.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.3697, allocations: 0 / 0.495 GB, free: 10.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.3698, allocations: 312.2 kB / 0.4953 GB, free: 10.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.3698, allocations: 7.844 kB / 0.4953 GB, free: 10.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.3698, allocations: 24 kB / 0.4954 GB, free: 10.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.822e-05/0.3698, allocations: 13.12 kB / 0.4954 GB, free: 10.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3698, allocations: 0 / 0.4954 GB, free: 10.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.454e-05/0.3699, allocations: 55.97 kB / 0.4954 GB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.3699, allocations: 11.69 kB / 0.4954 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3699, allocations: 3.938 kB / 0.4955 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.37, allocations: 0.9375 kB / 0.4955 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.37, allocations: 4.703 kB / 0.4955 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.37, allocations: 3.812 kB / 0.4955 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.37, allocations: 4.125 kB / 0.4955 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.3701, allocations: 0 / 0.4955 GB, free: 10.19 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.698e-05/0.3701, allocations: 109.4 kB / 0.4956 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.3702, allocations: 43.86 kB / 0.4956 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3702, allocations: 11.95 kB / 0.4956 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3702, allocations: 0.6094 kB / 0.4956 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3702, allocations: 7.75 kB / 0.4956 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3702, allocations: 0.6562 kB / 0.4956 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.051e-05/0.3703, allocations: 127.8 kB / 0.4958 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3703, allocations: 7.938 kB / 0.4958 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.3703, allocations: 4.766 kB / 0.4958 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3703, allocations: 0 / 0.4958 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3703, allocations: 4.5 kB / 0.4958 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3703, allocations: 0 / 0.4958 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3703, allocations: 0.7031 kB / 0.4958 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.054e-05/0.3704, allocations: 72.22 kB / 0.4958 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.3705, allocations: 89.7 kB / 0.4959 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3705, allocations: 4.828 kB / 0.4959 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.3705, allocations: 4.688 kB / 0.4959 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-06/0.3705, allocations: 0.7969 kB / 0.4959 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3705, allocations: 384 / 0.4959 GB, free: 9.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.262e-05/0.3706, allocations: 87.91 kB / 0.496 GB, free: 9.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.3708, allocations: 3.844 kB / 0.496 GB, free: 9.625 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.858e-05/0.3708, allocations: 99.39 kB / 0.4961 GB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.3709, allocations: 23.98 kB / 0.4961 GB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.3709, allocations: 0 / 0.4961 GB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.3709, allocations: 0 / 0.4961 GB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.3711, allocations: 15.61 kB / 0.4962 GB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001488/0.3712, allocations: 62.56 kB / 0.4962 GB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3714, allocations: 0.6973 MB / 0.4969 GB, free: 8.754 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3714, allocations: 3.938 kB / 0.4969 GB, free: 8.75 MB / 330.7 MB Notification: Performance of Templates: time 0.001951/0.3733, allocations: 376.6 kB / 0.4973 GB, free: 8.699 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches