Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 178.4 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.001118/0.001118, allocations: 91.19 kB / 261.8 MB, free: 13.45 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.1094/0.1094, allocations: 12.58 MB / 322.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.29e-05, allocations: 4 kB / 378.9 MB, free: 75.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.09634, allocations: 50.39 MB / 429.3 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.5812, allocations: 77.59 MB / 0.495 GB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5815, allocations: 80.72 kB / 0.4951 GB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007785/0.5893, allocations: 1.977 MB / 0.497 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5894, allocations: 0 / 0.497 GB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.5894, allocations: 4 kB / 0.497 GB, free: 11.66 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.0003716/0.5898, allocations: 352.2 kB / 0.4974 GB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5899, allocations: 11.56 kB / 0.4974 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.5899, allocations: 7.812 kB / 0.4974 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.5901, allocations: 206.9 kB / 0.4976 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.5902, allocations: 0 / 0.4976 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.5902, allocations: 3.844 kB / 0.4976 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.561e-05/0.5903, allocations: 11.56 kB / 0.4976 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.5906, allocations: 112.5 kB / 0.4977 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5906, allocations: 0 / 0.4977 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.5906, allocations: 0 / 0.4977 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5906, allocations: 3.812 kB / 0.4977 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.591, allocations: 257.1 kB / 0.498 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.5911, allocations: 61.89 kB / 0.498 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.5912, allocations: 29.95 kB / 0.498 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.5912, allocations: 0 / 0.498 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.5912, allocations: 40.75 kB / 0.4981 GB, free: 10.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.5912, allocations: 0 / 0.4981 GB, free: 10.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.5915, allocations: 53.83 kB / 0.4981 GB, free: 10.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.5915, allocations: 114.8 kB / 0.4982 GB, free: 10.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.5916, allocations: 125.9 kB / 0.4984 GB, free: 10.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.5917, allocations: 25.7 kB / 0.4984 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.5917, allocations: 90.73 kB / 0.4985 GB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.5917, allocations: 2.109 kB / 0.4985 GB, free: 10.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.5917, allocations: 0 / 0.4985 GB, free: 10.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.5918, allocations: 325.9 kB / 0.4988 GB, free: 9.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.5919, allocations: 0 / 0.4988 GB, free: 9.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.5919, allocations: 31.16 kB / 0.4988 GB, free: 9.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.5919, allocations: 10.28 kB / 0.4988 GB, free: 9.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5919, allocations: 3.938 kB / 0.4988 GB, free: 9.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001091/0.5921, allocations: 55.16 kB / 0.4989 GB, free: 9.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5921, allocations: 7.969 kB / 0.4989 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5921, allocations: 10.08 kB / 0.4989 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5921, allocations: 0 / 0.4989 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5923, allocations: 17.95 kB / 0.4989 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5923, allocations: 3.875 kB / 0.4989 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.5924, allocations: 0 / 0.4989 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.5924, allocations: 7.562 kB / 0.4989 GB, free: 9.812 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 5.552e-05/0.5925, allocations: 107 kB / 0.499 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.5926, allocations: 55.31 kB / 0.4991 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.5926, allocations: 10 kB / 0.4991 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.5926, allocations: 3.812 kB / 0.4991 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5926, allocations: 0 / 0.4991 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5926, allocations: 0 / 0.4991 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.5928, allocations: 155.3 kB / 0.4992 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5928, allocations: 0 / 0.4992 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.849e-05/0.5929, allocations: 11.59 kB / 0.4993 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5929, allocations: 3.781 kB / 0.4993 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.593, allocations: 2.297 kB / 0.4993 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.593, allocations: 4.062 kB / 0.4993 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.593, allocations: 0 / 0.4993 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.5931, allocations: 195.6 kB / 0.4995 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.5932, allocations: 101.3 kB / 0.4996 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.5932, allocations: 4 kB / 0.4996 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5934, allocations: 3.875 kB / 0.4996 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.5934, allocations: 0 / 0.4996 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.5934, allocations: 6.422 kB / 0.4996 GB, free: 9.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.999e-05/0.5935, allocations: 105.3 kB / 0.4997 GB, free: 9.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5935, allocations: 0 / 0.4997 GB, free: 9.117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.5939, allocations: 7.766 kB / 0.4997 GB, free: 9.113 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 9.551e-05/0.594, allocations: 96.48 kB / 0.4998 GB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.5941, allocations: 28.17 kB / 0.4998 GB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5941, allocations: 0 / 0.4998 GB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.221e-05/0.5941, allocations: 3.312 kB / 0.4998 GB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.5945, allocations: 16.41 kB / 0.4998 GB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.5949, allocations: 112 kB / 0.4999 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.5951, allocations: 0.7032 MB / 0.5006 GB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.5951, allocations: 2.203 kB / 0.5006 GB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.5952, allocations: 14.84 kB / 0.5006 GB, free: 8.203 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5952, allocations: 0 / 0.5006 GB, free: 8.203 MB / 330.7 MB Notification: Performance of Templates: time 0.003354/0.5985, allocations: 0.4898 MB / 0.5011 GB, free: 8.148 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches