Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") [: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.001445/0.001445, allocations: 182.4 kB / 7.843 MB, free: 2.504 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.295/1.295, allocations: 205.2 MB / 213.5 MB, free: 13.9 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.001066/0.001066, allocations: 95.64 kB / 261.5 MB, free: 13.52 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.08408/0.08408, allocations: 12.59 MB / 322 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.688e-06, allocations: 0 / 378.4 MB, free: 75.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0823/0.08233, allocations: 50.38 MB / 428.8 MB, free: 25.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2519/0.3343, allocations: 77.52 MB / 0.4944 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3346, allocations: 75.08 kB / 0.4945 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004966/0.3395, allocations: 1.673 MB / 0.4961 GB, free: 11.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3396, allocations: 0 / 0.4961 GB, free: 11.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002899/0.3399, allocations: 358.2 kB / 0.4965 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3399, allocations: 7.688 kB / 0.4965 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.34, allocations: 15.66 kB / 0.4965 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3402, allocations: 200.9 kB / 0.4967 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3402, allocations: 0 / 0.4967 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3402, allocations: 3.969 kB / 0.4967 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.981e-05/0.3403, allocations: 12.42 kB / 0.4967 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3405, allocations: 100.5 kB / 0.4968 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3405, allocations: 4 kB / 0.4968 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3405, allocations: 4.656 kB / 0.4968 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3405, allocations: 3.969 kB / 0.4968 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.3408, allocations: 251.4 kB / 0.497 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.3409, allocations: 59.91 kB / 0.4971 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.3409, allocations: 29.16 kB / 0.4971 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.341, allocations: 7.75 kB / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.341, allocations: 39.11 kB / 0.4972 GB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.341, allocations: 0 / 0.4972 GB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001561/0.3412, allocations: 58.34 kB / 0.4972 GB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3412, allocations: 107.3 kB / 0.4973 GB, free: 10.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.3413, allocations: 126.1 kB / 0.4974 GB, free: 10.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.3413, allocations: 25.7 kB / 0.4975 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.3414, allocations: 93.42 kB / 0.4976 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.3414, allocations: 0 / 0.4976 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.3414, allocations: 0 / 0.4976 GB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.3414, allocations: 325.3 kB / 0.4979 GB, free: 9.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.3415, allocations: 2.75 kB / 0.4979 GB, free: 9.805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.3415, allocations: 27.64 kB / 0.4979 GB, free: 9.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.3415, allocations: 12.34 kB / 0.4979 GB, free: 9.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3415, allocations: 0 / 0.4979 GB, free: 9.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.655e-05/0.3416, allocations: 62.48 kB / 0.498 GB, free: 9.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3416, allocations: 7.719 kB / 0.498 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3416, allocations: 3.594 kB / 0.498 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3417, allocations: 0.5625 kB / 0.498 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.3417, allocations: 13.66 kB / 0.498 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3418, allocations: 8.703 kB / 0.498 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.3418, allocations: 0.9844 kB / 0.498 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3418, allocations: 3.906 kB / 0.498 GB, free: 9.715 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: 0 () * 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.48e-05/0.3419, allocations: 102.3 kB / 0.4981 GB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.3419, allocations: 56.98 kB / 0.4982 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.342, allocations: 7.953 kB / 0.4982 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.342, allocations: 9.156 kB / 0.4982 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.342, allocations: 0 / 0.4982 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.342, allocations: 96 / 0.4982 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3421, allocations: 148.6 kB / 0.4983 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3421, allocations: 3.984 kB / 0.4983 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.3422, allocations: 14.11 kB / 0.4983 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3422, allocations: 3.938 kB / 0.4983 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3422, allocations: 7.031 kB / 0.4983 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3422, allocations: 1.312 kB / 0.4983 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3423, allocations: 0.5469 kB / 0.4983 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001031/0.3424, allocations: 189 kB / 0.4985 GB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3424, allocations: 99.31 kB / 0.4986 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3424, allocations: 5.359 kB / 0.4986 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.3425, allocations: 7.844 kB / 0.4986 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.3426, allocations: 1.406 kB / 0.4986 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3426, allocations: 3.844 kB / 0.4986 GB, free: 9.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.668e-05/0.3426, allocations: 105.3 kB / 0.4987 GB, free: 9.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.3428, allocations: 3.844 kB / 0.4987 GB, free: 9.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.839e-05/0.3429, allocations: 98.47 kB / 0.4988 GB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.641e-05/0.343, allocations: 19.83 kB / 0.4989 GB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.343, allocations: 4.25 kB / 0.4989 GB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.343, allocations: 8.781 kB / 0.4989 GB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3433, allocations: 16.41 kB / 0.4989 GB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.3436, allocations: 111.8 kB / 0.499 GB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.3437, allocations: 0.7099 MB / 0.4997 GB, free: 8.113 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3437, allocations: 256 / 0.4997 GB, free: 8.113 MB / 330.7 MB Notification: Performance of Templates: time 0.002684/0.3464, allocations: 0.5387 MB / 0.5002 GB, free: 8.059 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches