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.001668/0.001668, allocations: 175.4 kB / 16.45 MB, free: 5.684 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.366/1.366, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007513/0.0007514, allocations: 89.42 kB / 270.9 MB, free: 8.352 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.06758/0.06758, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 20 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08586, allocations: 50.36 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001445/0.08734, allocations: 1.27 MB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.08802, allocations: 0.5156 MB / 444.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.08811, allocations: 4 kB / 444.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.08815, allocations: 7.922 kB / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.08828, allocations: 7.938 kB / 444.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.08854, allocations: 43.88 kB / 444.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.08862, allocations: 39.86 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.08872, allocations: 20.17 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.08878, allocations: 23.86 kB / 444.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.08884, allocations: 19.92 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.08887, allocations: 0 / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.08889, allocations: 3.938 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.08892, allocations: 11.92 kB / 444.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.08894, allocations: 37.64 kB / 444.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.248e-05/0.08901, allocations: 31.94 kB / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.08902, allocations: 0 / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08903, allocations: 4 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.08903, allocations: 0 / 444.4 MB, free: 14.39 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.0003724/0.08941, allocations: 371.3 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.08945, allocations: 8.031 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.08948, allocations: 7.906 kB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.08963, allocations: 198.8 kB / 445 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.08965, allocations: 7.922 kB / 445 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.08967, allocations: 8 kB / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.08992, allocations: 117.9 kB / 445.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.08994, allocations: 0 / 445.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.08995, allocations: 0 / 445.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.08996, allocations: 0 / 445.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.196e-05/0.09005, allocations: 27.98 kB / 445.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.0903, allocations: 290.3 kB / 445.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.0904, allocations: 71.78 kB / 445.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.09046, allocations: 30.64 kB / 445.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.0905, allocations: 3.984 kB / 445.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.09052, allocations: 38.56 kB / 445.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.09052, allocations: 0 / 445.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002372/0.09077, allocations: 89.55 kB / 445.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.09081, allocations: 103.2 kB / 445.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.487e-05/0.0909, allocations: 153.5 kB / 445.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.09092, allocations: 25.7 kB / 445.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.09095, allocations: 96.05 kB / 446 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.09097, allocations: 0 / 446 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.09098, allocations: 0 / 446 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.09103, allocations: 318.8 kB / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.09107, allocations: 8 kB / 446.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.09112, allocations: 43.42 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.09117, allocations: 19.92 kB / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09118, allocations: 0 / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.0913, allocations: 77.53 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.09132, allocations: 4 kB / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.09133, allocations: 0 / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.09135, allocations: 4 kB / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.09143, allocations: 11.98 kB / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.09144, allocations: 0 / 446.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.09149, allocations: 11.89 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.0915, allocations: 8.125 kB / 446.5 MB, free: 12 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 5.41e-05/0.09156, allocations: 121.6 kB / 446.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.09163, allocations: 49.61 kB / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.09166, allocations: 15.81 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.09167, allocations: 4 kB / 446.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.09168, allocations: 3.938 kB / 446.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.09168, allocations: 0 / 446.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.0918, allocations: 173.6 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.09181, allocations: 0 / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.09187, allocations: 19.98 kB / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.09188, allocations: 0 / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.0919, allocations: 11.94 kB / 446.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.0919, allocations: 0 / 446.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.09191, allocations: 0 / 446.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.09205, allocations: 185 kB / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.09209, allocations: 93 kB / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.09211, allocations: 4 kB / 447.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.09219, allocations: 7.984 kB / 447.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.09222, allocations: 144 / 447.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.09223, allocations: 3.984 kB / 447.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.09229, allocations: 111.2 kB / 447.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09229, allocations: 4 kB / 447.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.0925, allocations: 11.95 kB / 447.3 MB, free: 11.09 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.452e-05/0.09257, allocations: 91.25 kB / 447.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.0927, allocations: 35.92 kB / 447.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09271, allocations: 0 / 447.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.09276, allocations: 16.23 kB / 447.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.09309, allocations: 28.02 kB / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.09336, allocations: 228.4 kB / 447.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.09348, allocations: 0.6926 MB / 448.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.09351, allocations: 15.42 kB / 448.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09352, allocations: 0 / 448.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of Templates: time 0.001702/0.09522, allocations: 0.8117 MB / 449.2 MB, free: 9.105 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