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.0008979/0.0008979, allocations: 175.3 kB / 16.77 MB, free: 5.047 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.429/1.429, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008802/0.0008802, allocations: 79.89 kB / 271.3 MB, free: 8.25 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.08184/0.08184, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 19.98 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.08959, allocations: 50.36 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001451/0.09108, allocations: 1.278 MB / 444.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.09175, allocations: 0.5039 MB / 444.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.09184, allocations: 4 kB / 444.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.09189, allocations: 3.938 kB / 444.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.09202, allocations: 7.922 kB / 444.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.09229, allocations: 43.91 kB / 444.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.09238, allocations: 43.84 kB / 444.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.09249, allocations: 20.17 kB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.09256, allocations: 19.86 kB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.09262, allocations: 15.92 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.09265, allocations: 4 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.09267, allocations: 3.938 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.09271, allocations: 7.938 kB / 444.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.09275, allocations: 53.5 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.09283, allocations: 31.94 kB / 445 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.09284, allocations: 4 kB / 445 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.09285, allocations: 0 / 445 MB, free: 14.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.09286, allocations: 0 / 445 MB, free: 14.05 MB / 298.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.0003837/0.09325, allocations: 367.5 kB / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.09329, allocations: 8.031 kB / 445.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.09333, allocations: 8.844 kB / 445.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.09348, allocations: 200.1 kB / 445.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.0935, allocations: 384 / 445.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.09352, allocations: 8.375 kB / 445.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.09377, allocations: 118 kB / 445.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.09379, allocations: 3.938 kB / 445.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.0938, allocations: 0 / 445.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.09381, allocations: 0 / 445.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.0939, allocations: 31.98 kB / 445.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.09416, allocations: 282.4 kB / 446 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.952e-05/0.09426, allocations: 67.8 kB / 446.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.09433, allocations: 34.62 kB / 446.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.09436, allocations: 4 kB / 446.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.09439, allocations: 38.56 kB / 446.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.0944, allocations: 0 / 446.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002559/0.09466, allocations: 89.5 kB / 446.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.09471, allocations: 115.1 kB / 446.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.0948, allocations: 141.6 kB / 446.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.09482, allocations: 25.7 kB / 446.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.09485, allocations: 92.12 kB / 446.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.09487, allocations: 7.906 kB / 446.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.09488, allocations: 0 / 446.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.09494, allocations: 318.7 kB / 446.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.09498, allocations: 19.98 kB / 446.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.09503, allocations: 35.42 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.621e-05/0.09511, allocations: 55.36 kB / 447 MB, free: 11.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09512, allocations: 0 / 447 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.09524, allocations: 77.45 kB / 447.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.09526, allocations: 4 kB / 447.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.09527, allocations: 0 / 447.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.09529, allocations: 4.125 kB / 447.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.0954, allocations: 12 kB / 447.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.09541, allocations: 0 / 447.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.09546, allocations: 7.984 kB / 447.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.09547, allocations: 4 kB / 447.1 MB, free: 11.62 MB / 298.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 6.396e-05/0.09554, allocations: 122.4 kB / 447.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.09561, allocations: 57.53 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.09564, allocations: 11.83 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.09565, allocations: 8.156 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.09566, allocations: 3.984 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.09567, allocations: 0 / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.09579, allocations: 177.6 kB / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0958, allocations: 0 / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.09586, allocations: 16 kB / 447.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.09587, allocations: 0 / 447.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.09588, allocations: 7.938 kB / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.09589, allocations: 0 / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.0959, allocations: 0 / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.09603, allocations: 189 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.09608, allocations: 93 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.0961, allocations: 4 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.09617, allocations: 8 kB / 447.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.09621, allocations: 0 / 447.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.09622, allocations: 0 / 447.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.774e-05/0.09627, allocations: 115.2 kB / 447.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09627, allocations: 0 / 447.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.09649, allocations: 4 kB / 447.9 MB, free: 10.71 MB / 298.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 6.358e-05/0.09655, allocations: 95.19 kB / 448 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.09669, allocations: 43.91 kB / 448.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.0967, allocations: 0 / 448.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.09674, allocations: 15.94 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.09713, allocations: 35.83 kB / 448.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.09743, allocations: 224.8 kB / 448.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.09757, allocations: 0.6932 MB / 449 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.0976, allocations: 11.44 kB / 449 MB, free: 9.531 MB / 298.7 MB Notification: Performance of SimCode: time 1.453e-06/0.09761, allocations: 0 / 449 MB, free: 9.531 MB / 298.7 MB Notification: Performance of Templates: time 0.001932/0.09954, allocations: 0.8192 MB / 449.9 MB, free: 8.715 MB / 298.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/jenkins/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