Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.00166, allocations: 180.3 kB / 8.192 MB, free: 0.8203 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.2 MB / 213.8 MB, free: 8.594 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001528/0.001527, allocations: 92.97 kB / 261.8 MB, free: 5.176 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1498/0.1498, allocations: 12.59 MB / 322.3 MB, free: 10.38 MB / 274.8 MB Notification: Performance of FrontEnd - loaded program: time 9.278e-06/9.578e-06, allocations: 0 / 378.4 MB, free: 2.23 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 50.37 MB / 428.7 MB, free: 57.88 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.3821, allocations: 77.53 MB / 0.4944 GB, free: 12.22 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.3825, allocations: 71.95 kB / 0.4945 GB, free: 12.15 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.008676/0.3912, allocations: 1.659 MB / 0.4961 GB, free: 10.5 MB / 354.8 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3912, allocations: 0 / 0.4961 GB, free: 10.5 MB / 354.8 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.0004847/0.3917, allocations: 354.3 kB / 0.4964 GB, free: 10.11 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3918, allocations: 8.031 kB / 0.4964 GB, free: 10.1 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.3919, allocations: 15.8 kB / 0.4965 GB, free: 10.08 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3921, allocations: 193 kB / 0.4966 GB, free: 9.855 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3922, allocations: 0 / 0.4966 GB, free: 9.855 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3922, allocations: 8 kB / 0.4967 GB, free: 9.848 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001123/0.3923, allocations: 23.92 kB / 0.4967 GB, free: 9.824 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.3926, allocations: 93.92 kB / 0.4968 GB, free: 9.711 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3926, allocations: 3.984 kB / 0.4968 GB, free: 9.707 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3927, allocations: 3.906 kB / 0.4968 GB, free: 9.703 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3927, allocations: 0 / 0.4968 GB, free: 9.703 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.3931, allocations: 255.2 kB / 0.497 GB, free: 9.406 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3933, allocations: 67.8 kB / 0.4971 GB, free: 9.312 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.3934, allocations: 26.64 kB / 0.4971 GB, free: 9.277 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3934, allocations: 7.891 kB / 0.4971 GB, free: 9.27 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3934, allocations: 30.56 kB / 0.4971 GB, free: 9.23 MB / 354.8 MB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.3935, allocations: 0 / 0.4971 GB, free: 9.23 MB / 354.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002539/0.3937, allocations: 61.53 kB / 0.4972 GB, free: 9.164 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.3938, allocations: 110.8 kB / 0.4973 GB, free: 9.031 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.394, allocations: 131.8 kB / 0.4974 GB, free: 8.898 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.394, allocations: 29.64 kB / 0.4975 GB, free: 8.863 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.3941, allocations: 150.6 kB / 0.4976 GB, free: 8.715 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.3941, allocations: 4 kB / 0.4976 GB, free: 8.711 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.3942, allocations: 4.094 kB / 0.4976 GB, free: 8.707 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3943, allocations: 324 kB / 0.4979 GB, free: 8.383 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.3943, allocations: 4 kB / 0.4979 GB, free: 8.379 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.3944, allocations: 27.44 kB / 0.4979 GB, free: 8.34 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.3945, allocations: 4 kB / 0.498 GB, free: 8.336 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3945, allocations: 4 kB / 0.498 GB, free: 8.332 MB / 354.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.3946, allocations: 53.62 kB / 0.498 GB, free: 8.273 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3947, allocations: 4 kB / 0.498 GB, free: 8.27 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3947, allocations: 0 / 0.498 GB, free: 8.27 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3947, allocations: 4 kB / 0.498 GB, free: 8.266 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.3949, allocations: 11.98 kB / 0.498 GB, free: 8.254 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3949, allocations: 3.938 kB / 0.498 GB, free: 8.25 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.395, allocations: 16.03 kB / 0.498 GB, free: 8.234 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.395, allocations: 4 kB / 0.4981 GB, free: 8.23 MB / 354.8 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 5.419e-05/0.3951, allocations: 25.7 kB / 0.4981 GB, free: 8.199 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3952, allocations: 49.59 kB / 0.4981 GB, free: 8.145 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.3953, allocations: 11.84 kB / 0.4981 GB, free: 8.133 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3953, allocations: 3.984 kB / 0.4981 GB, free: 8.129 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3953, allocations: 0 / 0.4981 GB, free: 8.129 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3954, allocations: 7.938 kB / 0.4981 GB, free: 8.121 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3956, allocations: 150.2 kB / 0.4983 GB, free: 7.938 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3956, allocations: 3.984 kB / 0.4983 GB, free: 7.934 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.3957, allocations: 8 kB / 0.4983 GB, free: 7.926 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3957, allocations: 4 kB / 0.4983 GB, free: 7.922 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3958, allocations: 4 kB / 0.4983 GB, free: 7.918 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3958, allocations: 0 / 0.4983 GB, free: 7.918 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.3958, allocations: 4 kB / 0.4983 GB, free: 7.914 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002145/0.396, allocations: 188.5 kB / 0.4985 GB, free: 7.695 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3961, allocations: 96.94 kB / 0.4986 GB, free: 7.582 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.3962, allocations: 4 kB / 0.4986 GB, free: 7.578 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3963, allocations: 7.938 kB / 0.4986 GB, free: 7.57 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.3963, allocations: 3.938 kB / 0.4986 GB, free: 7.566 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3964, allocations: 4 kB / 0.4986 GB, free: 7.562 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0001055/0.3965, allocations: 107.3 kB / 0.4987 GB, free: 7.457 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.0002736/0.3968, allocations: 4 kB / 0.4987 GB, free: 7.453 MB / 354.8 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 0.0001266/0.3969, allocations: 95.23 kB / 0.4988 GB, free: 7.352 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.397, allocations: 19.94 kB / 0.4988 GB, free: 7.332 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.397, allocations: 0 / 0.4988 GB, free: 7.332 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.3971, allocations: 8 kB / 0.4988 GB, free: 7.324 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3975, allocations: 40.05 kB / 0.4989 GB, free: 7.289 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.3979, allocations: 135 kB / 0.499 GB, free: 7.117 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.3983, allocations: 0.7075 MB / 0.4997 GB, free: 6.383 MB / 354.8 MB Notification: Performance of SimCode: time 9.12e-07/0.3983, allocations: 0 / 0.4997 GB, free: 6.383 MB / 354.8 MB Notification: Performance of Templates: time 0.003078/0.4014, allocations: 0.8087 MB / 0.5005 GB, free: 5.582 MB / 354.8 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches