Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.9 kB / 7.843 MB, free: 2.508 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.385/1.385, allocations: 205.2 MB / 213.5 MB, free: 13.84 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.0009573/0.0009573, allocations: 94.45 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.06909/0.06909, allocations: 12.59 MB / 322 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/9.138e-06, allocations: 0 / 378.4 MB, free: 75.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09366, allocations: 50.37 MB / 428.8 MB, free: 25.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3042/0.3979, allocations: 77.69 MB / 0.4946 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.3983, allocations: 75.53 kB / 0.4947 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01098/0.4093, allocations: 2.903 MB / 0.4975 GB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4093, allocations: 0 / 0.4975 GB, free: 11.54 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.0004519/0.4098, allocations: 387.1 kB / 0.4979 GB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4098, allocations: 11.53 kB / 0.4979 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.4099, allocations: 11.75 kB / 0.4979 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.4102, allocations: 205.3 kB / 0.4981 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.4102, allocations: 0 / 0.4981 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4102, allocations: 3.812 kB / 0.4981 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001411/0.4104, allocations: 45.97 kB / 0.4981 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.4107, allocations: 177 kB / 0.4983 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4107, allocations: 4 kB / 0.4983 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4108, allocations: 2.438 kB / 0.4983 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.4108, allocations: 3.844 kB / 0.4983 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.4112, allocations: 272 kB / 0.4986 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.4113, allocations: 80.34 kB / 0.4986 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.658e-05/0.4114, allocations: 44.39 kB / 0.4987 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.4114, allocations: 7.812 kB / 0.4987 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4114, allocations: 38.91 kB / 0.4987 GB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.4115, allocations: 0 / 0.4987 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002496/0.4117, allocations: 88.69 kB / 0.4988 GB, free: 10.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4118, allocations: 113.4 kB / 0.4989 GB, free: 10.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4119, allocations: 134.8 kB / 0.499 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.4119, allocations: 25.7 kB / 0.4991 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.412, allocations: 84.81 kB / 0.4992 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.412, allocations: 12.72 kB / 0.4992 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.412, allocations: 4.031 kB / 0.4992 GB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.4121, allocations: 321.4 kB / 0.4995 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.4121, allocations: 14.97 kB / 0.4995 GB, free: 9.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.4122, allocations: 86.44 kB / 0.4996 GB, free: 9.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/0.4122, allocations: 23.78 kB / 0.4996 GB, free: 9.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4123, allocations: 3.844 kB / 0.4996 GB, free: 9.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001537/0.4124, allocations: 106.7 kB / 0.4997 GB, free: 9.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4124, allocations: 5 kB / 0.4997 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4125, allocations: 3.969 kB / 0.4997 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4125, allocations: 7.828 kB / 0.4997 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4126, allocations: 30.11 kB / 0.4997 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4126, allocations: 9.906 kB / 0.4998 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/0.4127, allocations: 5.156 kB / 0.4998 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.4127, allocations: 11.56 kB / 0.4998 GB, free: 9.59 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 5.759e-05/0.4128, allocations: 113.6 kB / 0.4999 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4129, allocations: 79.78 kB / 0.5 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.413, allocations: 12.52 kB / 0.5 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.413, allocations: 4.094 kB / 0.5 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.413, allocations: 3.938 kB / 0.5 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.413, allocations: 13.73 kB / 0.5 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.4131, allocations: 155.1 kB / 0.5001 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4131, allocations: 7.906 kB / 0.5001 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.4133, allocations: 20.25 kB / 0.5002 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4133, allocations: 0 / 0.5002 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4133, allocations: 5.531 kB / 0.5002 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4133, allocations: 3.906 kB / 0.5002 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4133, allocations: 0 / 0.5002 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001689/0.4135, allocations: 227.5 kB / 0.5004 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.4136, allocations: 98.84 kB / 0.5005 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.4136, allocations: 3.844 kB / 0.5005 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4137, allocations: 10.55 kB / 0.5005 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.4137, allocations: 0 / 0.5005 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4138, allocations: 5.047 kB / 0.5005 GB, free: 8.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.261e-05/0.4138, allocations: 110.5 kB / 0.5006 GB, free: 8.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.4141, allocations: 11.53 kB / 0.5006 GB, free: 8.887 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.0001153/0.4142, allocations: 106.3 kB / 0.5007 GB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.4144, allocations: 55.19 kB / 0.5008 GB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4144, allocations: 128 / 0.5008 GB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.4144, allocations: 12.84 kB / 0.5008 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4147, allocations: 48.59 kB / 0.5008 GB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.4151, allocations: 132.7 kB / 0.501 GB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.4153, allocations: 0.7259 MB / 0.5017 GB, free: 7.969 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4153, allocations: 0 / 0.5017 GB, free: 7.969 MB / 330.7 MB Notification: Performance of Templates: time 0.002907/0.4182, allocations: 0.897 MB / 0.5025 GB, free: 7.875 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches