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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00214/0.00214, allocations: 177.7 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.152/2.152, 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.00111/0.00111, allocations: 92.31 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.1107/0.1107, allocations: 12.58 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.682e-05, allocations: 4 kB / 378.9 MB, free: 75.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.09906, allocations: 50.39 MB / 429.3 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5466, allocations: 77.59 MB / 0.495 GB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5469, allocations: 74.8 kB / 0.4951 GB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007476/0.5544, allocations: 1.978 MB / 0.497 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5545, allocations: 0 / 0.497 GB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5545, allocations: 7.75 kB / 0.497 GB, free: 11.69 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.0003801/0.5549, allocations: 349.1 kB / 0.4974 GB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.555, allocations: 7.719 kB / 0.4974 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.555, allocations: 9.75 kB / 0.4974 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.5552, allocations: 203.5 kB / 0.4976 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.5553, allocations: 3.844 kB / 0.4976 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.5553, allocations: 3.938 kB / 0.4976 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/0.5554, allocations: 18.2 kB / 0.4976 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.5557, allocations: 105.1 kB / 0.4977 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5557, allocations: 0 / 0.4977 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5557, allocations: 4 kB / 0.4977 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5557, allocations: 0 / 0.4977 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.5561, allocations: 253.8 kB / 0.498 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.5562, allocations: 66.64 kB / 0.498 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.5563, allocations: 29.2 kB / 0.4981 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.5563, allocations: 0 / 0.4981 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5563, allocations: 37.27 kB / 0.4981 GB, free: 10.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/0.5563, allocations: 4 kB / 0.4981 GB, free: 10.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001917/0.5565, allocations: 54.59 kB / 0.4981 GB, free: 10.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.5566, allocations: 110.4 kB / 0.4982 GB, free: 10.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.5567, allocations: 130.2 kB / 0.4984 GB, free: 10.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.5567, allocations: 26.73 kB / 0.4984 GB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.5568, allocations: 83.33 kB / 0.4985 GB, free: 10.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.5568, allocations: 9.766 kB / 0.4985 GB, free: 10.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5568, allocations: 4.094 kB / 0.4985 GB, free: 10.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.5569, allocations: 318.3 kB / 0.4988 GB, free: 9.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.5569, allocations: 7.406 kB / 0.4988 GB, free: 9.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.557, allocations: 26.72 kB / 0.4988 GB, free: 9.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.557, allocations: 10.05 kB / 0.4988 GB, free: 9.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.557, allocations: 4 kB / 0.4988 GB, free: 9.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001037/0.5571, allocations: 54.56 kB / 0.4989 GB, free: 9.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5572, allocations: 7.719 kB / 0.4989 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5572, allocations: 6.141 kB / 0.4989 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5572, allocations: 0 / 0.4989 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5573, allocations: 17.56 kB / 0.4989 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.5573, allocations: 4 kB / 0.4989 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.5574, allocations: 8.094 kB / 0.4989 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.5574, allocations: 0 / 0.4989 GB, free: 9.844 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 6.001e-05/0.5575, allocations: 113.3 kB / 0.499 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.5576, allocations: 48.39 kB / 0.4991 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.5576, allocations: 13.78 kB / 0.4991 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5577, allocations: 3.984 kB / 0.4991 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5577, allocations: 3.844 kB / 0.4991 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5577, allocations: 0 / 0.4991 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.5579, allocations: 150.1 kB / 0.4993 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.5579, allocations: 7.844 kB / 0.4993 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.558, allocations: 10.06 kB / 0.4993 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.558, allocations: 0 / 0.4993 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.558, allocations: 0 / 0.4993 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.558, allocations: 3.844 kB / 0.4993 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.558, allocations: 2.484 kB / 0.4993 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.5582, allocations: 192.7 kB / 0.4995 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.5583, allocations: 97.09 kB / 0.4996 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.5583, allocations: 0 / 0.4996 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5584, allocations: 3.875 kB / 0.4996 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.5585, allocations: 5.984 kB / 0.4996 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5585, allocations: 3.75 kB / 0.4996 GB, free: 9.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.723e-05/0.5585, allocations: 107.6 kB / 0.4997 GB, free: 9.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5586, allocations: 0 / 0.4997 GB, free: 9.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.5589, allocations: 11.61 kB / 0.4997 GB, free: 9.148 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.167e-05/0.559, allocations: 94.47 kB / 0.4998 GB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.5591, allocations: 21.58 kB / 0.4998 GB, free: 9.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5591, allocations: 0 / 0.4998 GB, free: 9.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.5591, allocations: 7.625 kB / 0.4998 GB, free: 9.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.5595, allocations: 21.38 kB / 0.4998 GB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.5598, allocations: 107.3 kB / 0.4999 GB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.56, allocations: 0.7018 MB / 0.5006 GB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.5601, allocations: 6.656 kB / 0.5006 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.5601, allocations: 11.28 kB / 0.5006 GB, free: 8.242 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5601, allocations: 3.938 kB / 0.5006 GB, free: 8.238 MB / 330.7 MB Notification: Performance of Templates: time 0.003092/0.5632, allocations: 0.4983 MB / 0.5011 GB, free: 8.172 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/jenkins1/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