Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009918/0.0009919, allocations: 188.3 kB / 7.842 MB, free: 2.496 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.242/1.242, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009698/0.0009699, allocations: 79.55 kB / 261.4 MB, free: 13.57 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.08054/0.08054, allocations: 12.6 MB / 322 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.183e-06/7.193e-06, allocations: 4 kB / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 50.37 MB / 428.8 MB, free: 25.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2924/0.3958, allocations: 76.53 MB / 0.4935 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.3961, allocations: 73.38 kB / 0.4935 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001535/0.3977, allocations: 366 kB / 0.4939 GB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3977, allocations: 3.75 kB / 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.0002366/0.3979, allocations: 326.1 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.398, allocations: 8.344 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.398, allocations: 8.75 kB / 0.4942 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3982, allocations: 171.2 kB / 0.4944 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3982, allocations: 3.906 kB / 0.4944 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3983, allocations: 0 / 0.4944 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.489e-05/0.3983, allocations: 12.67 kB / 0.4944 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3985, allocations: 88.08 kB / 0.4945 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3985, allocations: 3.906 kB / 0.4945 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3985, allocations: 4.656 kB / 0.4945 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3986, allocations: 0 / 0.4945 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.3987, allocations: 136.4 kB / 0.4946 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.3987, allocations: 39.8 kB / 0.4946 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.3988, allocations: 17.02 kB / 0.4947 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3988, allocations: 0 / 0.4947 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3988, allocations: 38.92 kB / 0.4947 GB, free: 10.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3988, allocations: 0 / 0.4947 GB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001339/0.399, allocations: 47.86 kB / 0.4947 GB, free: 10.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.399, allocations: 55.94 kB / 0.4948 GB, free: 10.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.3991, allocations: 94.95 kB / 0.4949 GB, free: 10.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3991, allocations: 29.58 kB / 0.4949 GB, free: 10.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.3991, allocations: 84.52 kB / 0.495 GB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-06/0.3992, allocations: 0.6562 kB / 0.495 GB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.3992, allocations: 0 / 0.495 GB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.3992, allocations: 316 kB / 0.4953 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.3992, allocations: 7.594 kB / 0.4953 GB, free: 10.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.3993, allocations: 24.08 kB / 0.4953 GB, free: 10.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.3993, allocations: 4.969 kB / 0.4953 GB, free: 10.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3993, allocations: 7.938 kB / 0.4953 GB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.349e-05/0.3994, allocations: 51.89 kB / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.3994, allocations: 7.469 kB / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3994, allocations: 0 / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3994, allocations: 0.7031 kB / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.842e-05/0.3995, allocations: 4.484 kB / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3995, allocations: 3.938 kB / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.3995, allocations: 4.391 kB / 0.4954 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3995, allocations: 0 / 0.4954 GB, free: 10.17 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 5.911e-05/0.3996, allocations: 109.2 kB / 0.4955 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.3996, allocations: 48.89 kB / 0.4956 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.3997, allocations: 7.562 kB / 0.4956 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3997, allocations: 4 kB / 0.4956 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3997, allocations: 0.75 kB / 0.4956 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3997, allocations: 3.938 kB / 0.4956 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.058e-05/0.3997, allocations: 138.6 kB / 0.4957 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3998, allocations: 0 / 0.4957 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.3998, allocations: 4.641 kB / 0.4957 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3998, allocations: 4 kB / 0.4957 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.3998, allocations: 0.7969 kB / 0.4957 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3998, allocations: 3.938 kB / 0.4957 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3998, allocations: 0 / 0.4957 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.76e-05/0.3999, allocations: 75.98 kB / 0.4958 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.3999, allocations: 77.77 kB / 0.4959 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3999, allocations: 0.75 kB / 0.4959 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.4, allocations: 4.703 kB / 0.4959 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.4, allocations: 8.078 kB / 0.4959 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4, allocations: 0 / 0.4959 GB, free: 9.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.176e-05/0.4, allocations: 83.98 kB / 0.496 GB, free: 9.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.4002, allocations: 3.875 kB / 0.496 GB, free: 9.598 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.423e-05/0.4003, allocations: 95.31 kB / 0.4961 GB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.111e-05/0.4004, allocations: 20.95 kB / 0.4961 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4004, allocations: 0 / 0.4961 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-07/0.4004, allocations: 256 / 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.0001671/0.4006, allocations: 16.58 kB / 0.4961 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.4008, allocations: 74.11 kB / 0.4962 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.401, allocations: 0.693 MB / 0.4968 GB, free: 8.719 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.401, allocations: 3.875 kB / 0.4968 GB, free: 8.719 MB / 330.7 MB Notification: Performance of Templates: time 0.002232/0.4032, allocations: 316.3 kB / 0.4971 GB, free: 8.668 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches