Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") [: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.001005/0.001006, allocations: 188.9 kB / 7.842 MB, free: 2.5 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.191/1.191, allocations: 205.2 MB / 213.5 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.0008903/0.0008904, allocations: 93.88 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.06661/0.06661, allocations: 12.59 MB / 322 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.263e-06/7.303e-06, allocations: 4 kB / 378.4 MB, free: 75.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.08939, allocations: 50.38 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.3711, allocations: 76.92 MB / 0.4938 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.3714, allocations: 75.05 kB / 0.4939 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003009/0.3744, allocations: 0.9119 MB / 0.4948 GB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3745, allocations: 7.938 kB / 0.4948 GB, free: 11.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00026/0.3747, allocations: 342.4 kB / 0.4951 GB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3748, allocations: 11.5 kB / 0.4951 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3748, allocations: 11.66 kB / 0.4952 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.375, allocations: 183.8 kB / 0.4953 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.375, allocations: 3.844 kB / 0.4953 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.375, allocations: 7.781 kB / 0.4953 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.926e-05/0.3751, allocations: 15.34 kB / 0.4954 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3753, allocations: 117.1 kB / 0.4955 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3753, allocations: 6.781 kB / 0.4955 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-06/0.3754, allocations: 0 / 0.4955 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3754, allocations: 0.6562 kB / 0.4955 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.3755, allocations: 147.6 kB / 0.4956 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3756, allocations: 66.91 kB / 0.4957 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.3756, allocations: 36.52 kB / 0.4957 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3757, allocations: 4.562 kB / 0.4957 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3757, allocations: 30.56 kB / 0.4957 GB, free: 10.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3757, allocations: 0 / 0.4957 GB, free: 10.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001467/0.3758, allocations: 67.64 kB / 0.4958 GB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.3759, allocations: 59.25 kB / 0.4959 GB, free: 10.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.376, allocations: 122.1 kB / 0.496 GB, free: 10.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.376, allocations: 25.7 kB / 0.496 GB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.376, allocations: 88.58 kB / 0.4961 GB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.376, allocations: 5.031 kB / 0.4961 GB, free: 10.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.3761, allocations: 3.938 kB / 0.4961 GB, free: 10.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.3761, allocations: 316.7 kB / 0.4964 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.3761, allocations: 7.469 kB / 0.4964 GB, free: 10.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.3762, allocations: 56.06 kB / 0.4965 GB, free: 10.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.3762, allocations: 17.67 kB / 0.4965 GB, free: 10.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3762, allocations: 0 / 0.4965 GB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.543e-05/0.3763, allocations: 84.2 kB / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.3763, allocations: 6.312 kB / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3763, allocations: 0 / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3764, allocations: 8.438 kB / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.3764, allocations: 13.27 kB / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3765, allocations: 4.719 kB / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.3765, allocations: 7.812 kB / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3765, allocations: 3.844 kB / 0.4966 GB, free: 10.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.577e-05/0.3766, allocations: 105.5 kB / 0.4967 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.3766, allocations: 67.78 kB / 0.4968 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.3767, allocations: 12.89 kB / 0.4968 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3767, allocations: 0.7969 kB / 0.4968 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3767, allocations: 0 / 0.4968 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3767, allocations: 0.5156 kB / 0.4968 GB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.387e-05/0.3768, allocations: 154 kB / 0.4969 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3768, allocations: 8.391 kB / 0.4969 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.3769, allocations: 9.234 kB / 0.4969 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3769, allocations: 0 / 0.4969 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3769, allocations: 5.203 kB / 0.497 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3769, allocations: 0 / 0.497 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3769, allocations: 3.938 kB / 0.497 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.401e-05/0.377, allocations: 95.56 kB / 0.497 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.377, allocations: 92.69 kB / 0.4971 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3771, allocations: 8.422 kB / 0.4971 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.3771, allocations: 4 kB / 0.4971 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.3771, allocations: 0.5625 kB / 0.4971 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3771, allocations: 3.844 kB / 0.4972 GB, free: 9.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.712e-05/0.3772, allocations: 101.9 kB / 0.4972 GB, free: 9.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.3774, allocations: 7.781 kB / 0.4973 GB, free: 9.469 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.246e-05/0.3775, allocations: 99.27 kB / 0.4973 GB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.822e-05/0.3776, allocations: 39.98 kB / 0.4974 GB, free: 9.371 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3776, allocations: 3.938 kB / 0.4974 GB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3776, allocations: 0 / 0.4974 GB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3778, allocations: 36.78 kB / 0.4974 GB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.3781, allocations: 104.8 kB / 0.4975 GB, free: 9.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.3783, allocations: 0.7149 MB / 0.4982 GB, free: 8.574 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3783, allocations: 0 / 0.4982 GB, free: 8.574 MB / 330.7 MB Notification: Performance of Templates: time 0.002636/0.3809, allocations: 0.5383 MB / 0.4988 GB, free: 8.508 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches