Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") [: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.001683/0.001683, allocations: 175.4 kB / 8.192 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001338, allocations: 91.39 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1296/0.1296, allocations: 12.59 MB / 322.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.458e-06, allocations: 0 / 378.4 MB, free: 76.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09353, allocations: 50.37 MB / 428.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.397, allocations: 77.69 MB / 0.4946 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.3973, allocations: 80.75 kB / 0.4946 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0133/0.4107, allocations: 2.902 MB / 0.4975 GB, free: 11.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4107, allocations: 0 / 0.4975 GB, free: 11.48 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005081/0.4112, allocations: 387.6 kB / 0.4978 GB, free: 11.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4113, allocations: 11.53 kB / 0.4979 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.4114, allocations: 7.75 kB / 0.4979 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4116, allocations: 198.8 kB / 0.4981 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.4117, allocations: 3.844 kB / 0.4981 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4117, allocations: 3.844 kB / 0.4981 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001531/0.4119, allocations: 39.55 kB / 0.4981 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.4123, allocations: 200.1 kB / 0.4983 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4123, allocations: 0 / 0.4983 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4123, allocations: 0 / 0.4983 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.4124, allocations: 7.859 kB / 0.4983 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.4128, allocations: 269.4 kB / 0.4986 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.413, allocations: 84.02 kB / 0.4986 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/0.4131, allocations: 51.03 kB / 0.4987 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.4131, allocations: 5.141 kB / 0.4987 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.4132, allocations: 30.56 kB / 0.4987 GB, free: 10.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.4132, allocations: 0 / 0.4987 GB, free: 10.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003148/0.4135, allocations: 94.41 kB / 0.4988 GB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.4136, allocations: 112.2 kB / 0.4989 GB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4137, allocations: 128.8 kB / 0.499 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.4138, allocations: 25.7 kB / 0.4991 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.4138, allocations: 150.6 kB / 0.4992 GB, free: 9.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.4138, allocations: 17.55 kB / 0.4992 GB, free: 9.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4138, allocations: 0 / 0.4992 GB, free: 9.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.4139, allocations: 316.9 kB / 0.4995 GB, free: 9.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.414, allocations: 15.75 kB / 0.4995 GB, free: 9.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.414, allocations: 82.28 kB / 0.4996 GB, free: 9.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.4141, allocations: 35 kB / 0.4997 GB, free: 9.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4142, allocations: 0 / 0.4997 GB, free: 9.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002057/0.4144, allocations: 99.91 kB / 0.4997 GB, free: 9.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4144, allocations: 3.844 kB / 0.4997 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4144, allocations: 3.844 kB / 0.4998 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4144, allocations: 7.781 kB / 0.4998 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4147, allocations: 26.05 kB / 0.4998 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4147, allocations: 5.75 kB / 0.4998 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.4148, allocations: 8.062 kB / 0.4998 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.4148, allocations: 11.53 kB / 0.4998 GB, free: 9.469 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.95e-05/0.4149, allocations: 37.42 kB / 0.4998 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.4151, allocations: 83.31 kB / 0.4999 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.894e-05/0.4152, allocations: 17.22 kB / 0.4999 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4152, allocations: 7.75 kB / 0.4999 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4152, allocations: 0 / 0.4999 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4152, allocations: 0 / 0.4999 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.4154, allocations: 159 kB / 0.5001 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4154, allocations: 256 / 0.5001 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.4157, allocations: 31.92 kB / 0.5001 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4157, allocations: 0 / 0.5001 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.4157, allocations: 3.844 kB / 0.5001 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4157, allocations: 1.406 kB / 0.5001 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4157, allocations: 0 / 0.5001 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002651/0.416, allocations: 230.6 kB / 0.5004 GB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-05/0.4161, allocations: 97.31 kB / 0.5004 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.4162, allocations: 5.266 kB / 0.5005 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4163, allocations: 9.125 kB / 0.5005 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.4164, allocations: 0 / 0.5005 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.4164, allocations: 13.48 kB / 0.5005 GB, free: 8.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.463e-05/0.4165, allocations: 109.2 kB / 0.5006 GB, free: 8.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000328/0.4168, allocations: 11.69 kB / 0.5006 GB, free: 8.832 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000115/0.417, allocations: 95.59 kB / 0.5007 GB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.4172, allocations: 64.12 kB / 0.5007 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4172, allocations: 0 / 0.5007 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.4172, allocations: 3.969 kB / 0.5007 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.4176, allocations: 47.08 kB / 0.5008 GB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.4181, allocations: 166.2 kB / 0.5009 GB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.4184, allocations: 0.7271 MB / 0.5017 GB, free: 7.891 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4184, allocations: 0 / 0.5017 GB, free: 7.891 MB / 330.7 MB Notification: Performance of Templates: time 0.003362/0.4218, allocations: 1.168 MB / 0.5028 GB, free: 7.809 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches