Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001491, allocations: 186.2 kB / 16.44 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001105/0.001105, allocations: 88.62 kB / 270.9 MB, free: 8.379 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.1024/0.1024, allocations: 12.6 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005492/0.0005493, allocations: 12 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08771, allocations: 50.36 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.5028, allocations: 78.36 MB / 0.5085 GB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5031, allocations: 79.22 kB / 0.5086 GB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007474/0.5106, allocations: 2.004 MB / 0.5105 GB, free: 12.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5107, allocations: 0 / 0.5105 GB, free: 12.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.5107, allocations: 0 / 0.5105 GB, free: 12.17 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.0004062/0.5111, allocations: 373.5 kB / 0.5109 GB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5112, allocations: 15.78 kB / 0.5109 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.5112, allocations: 7.781 kB / 0.5109 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.5114, allocations: 205.6 kB / 0.5111 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.5114, allocations: 3.844 kB / 0.5111 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.5115, allocations: 3.438 kB / 0.5111 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.5118, allocations: 117.1 kB / 0.5112 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5118, allocations: 0 / 0.5112 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5118, allocations: 3.875 kB / 0.5112 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5118, allocations: 0 / 0.5112 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.512, allocations: 29.86 kB / 0.5113 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.5124, allocations: 284.2 kB / 0.5115 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5125, allocations: 66.38 kB / 0.5116 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.5125, allocations: 7.969 kB / 0.5116 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.5126, allocations: 34.12 kB / 0.5116 GB, free: 11.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.5126, allocations: 3.938 kB / 0.5116 GB, free: 11.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000352/0.5129, allocations: 87.73 kB / 0.5117 GB, free: 10.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.513, allocations: 106.8 kB / 0.5118 GB, free: 10.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.5131, allocations: 131.1 kB / 0.5119 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.5132, allocations: 25.7 kB / 0.512 GB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.5132, allocations: 158.2 kB / 0.5121 GB, free: 10.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.5132, allocations: 11.27 kB / 0.5121 GB, free: 10.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.5133, allocations: 0 / 0.5121 GB, free: 10.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.5133, allocations: 318.7 kB / 0.5124 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.5134, allocations: 15.5 kB / 0.5124 GB, free: 10.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/0.5135, allocations: 36.3 kB / 0.5125 GB, free: 10.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.5136, allocations: 19.08 kB / 0.5125 GB, free: 10.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5136, allocations: 4 kB / 0.5125 GB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002172/0.5138, allocations: 64.44 kB / 0.5126 GB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5138, allocations: 7.688 kB / 0.5126 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5139, allocations: 0 / 0.5126 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5139, allocations: 7.828 kB / 0.5126 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.514, allocations: 7.812 kB / 0.5126 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.514, allocations: 8.062 kB / 0.5126 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.5141, allocations: 3.875 kB / 0.5126 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.5141, allocations: 0 / 0.5126 GB, free: 10.14 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 () * Number of clocked 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 8.233e-05/0.5142, allocations: 129.2 kB / 0.5127 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.5143, allocations: 52.72 kB / 0.5128 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.5144, allocations: 15.53 kB / 0.5128 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5144, allocations: 3.875 kB / 0.5128 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5144, allocations: 0 / 0.5128 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5144, allocations: 4.062 kB / 0.5128 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.5146, allocations: 176.3 kB / 0.513 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5146, allocations: 0 / 0.513 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.5147, allocations: 11.73 kB / 0.513 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5147, allocations: 0 / 0.513 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5147, allocations: 7.656 kB / 0.513 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5147, allocations: 0 / 0.513 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5148, allocations: 0 / 0.513 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.515, allocations: 210.6 kB / 0.5132 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.5151, allocations: 95.94 kB / 0.5133 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.5151, allocations: 3.984 kB / 0.5133 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.5152, allocations: 7.969 kB / 0.5133 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.5152, allocations: 3.875 kB / 0.5133 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.5153, allocations: 4 kB / 0.5133 GB, free: 9.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.993e-05/0.5154, allocations: 116.2 kB / 0.5134 GB, free: 9.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5154, allocations: 0 / 0.5134 GB, free: 9.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.5157, allocations: 3.844 kB / 0.5134 GB, free: 9.348 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 () * Number of clocked 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 8.14e-05/0.5158, allocations: 90.94 kB / 0.5135 GB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.516, allocations: 45.39 kB / 0.5135 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.516, allocations: 0 / 0.5135 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.5161, allocations: 11.67 kB / 0.5135 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.5164, allocations: 32.19 kB / 0.5136 GB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.5168, allocations: 222.2 kB / 0.5138 GB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.517, allocations: 0.6959 MB / 0.5145 GB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.517, allocations: 11.25 kB / 0.5145 GB, free: 8.312 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5171, allocations: 0 / 0.5145 GB, free: 8.312 MB / 330.7 MB Notification: Performance of Templates: time 0.002668/0.5197, allocations: 0.8043 MB / 0.5153 GB, free: 7.914 MB / 330.7 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/jenkins1/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