Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 176.2 kB / 16.77 MB, free: 4.922 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.527/1.527, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008849/0.0008849, allocations: 82.44 kB / 271.3 MB, free: 8.242 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.0758/0.0758, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004302, allocations: 12 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09542, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001866/0.09734, allocations: 1.305 MB / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.09822, allocations: 492 kB / 444.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.09836, allocations: 3.938 kB / 444.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.09847, allocations: 3.984 kB / 444.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.0986, allocations: 19.88 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.0989, allocations: 43.83 kB / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.09903, allocations: 51.78 kB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.09917, allocations: 19.98 kB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.09928, allocations: 31.8 kB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.09936, allocations: 19.92 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.09938, allocations: 4 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.09941, allocations: 0 / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.09947, allocations: 11.92 kB / 445 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.09954, allocations: 61.48 kB / 445 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.825e-05/0.09964, allocations: 35.94 kB / 445.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.09965, allocations: 4 kB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.09966, allocations: 0 / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.09968, allocations: 0 / 445.1 MB, free: 14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005209/0.1002, allocations: 387.3 kB / 445.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1003, allocations: 12.03 kB / 445.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1003, allocations: 8.844 kB / 445.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1005, allocations: 200.1 kB / 445.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1005, allocations: 384 / 445.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1006, allocations: 8.375 kB / 445.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.1009, allocations: 138.1 kB / 445.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1009, allocations: 0 / 445.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1009, allocations: 4 kB / 445.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1009, allocations: 0 / 445.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1011, allocations: 55.91 kB / 445.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.1015, allocations: 377.9 kB / 446.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1017, allocations: 91.77 kB / 446.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.1018, allocations: 46.56 kB / 446.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1018, allocations: 0 / 446.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1018, allocations: 34.56 kB / 446.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1018, allocations: 0 / 446.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003889/0.1022, allocations: 129.6 kB / 446.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1023, allocations: 110.8 kB / 446.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.1024, allocations: 154.1 kB / 446.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1024, allocations: 25.7 kB / 446.8 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1025, allocations: 104.2 kB / 446.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1025, allocations: 3.906 kB / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.1025, allocations: 8 kB / 446.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.1026, allocations: 318.8 kB / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.1026, allocations: 23.98 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.455e-05/0.1027, allocations: 51.41 kB / 447.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1028, allocations: 71.34 kB / 447.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1028, allocations: 3.938 kB / 447.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001739/0.103, allocations: 93.59 kB / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1031, allocations: 4 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1031, allocations: 4.125 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1031, allocations: 4 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.1032, allocations: 15.92 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1032, allocations: 4 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.1033, allocations: 11.89 kB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1033, allocations: 0 / 447.5 MB, free: 11.25 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 7.047e-05/0.1034, allocations: 125.8 kB / 447.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.1035, allocations: 53.59 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.1035, allocations: 19.81 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.1035, allocations: 4 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1035, allocations: 0 / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1035, allocations: 3.938 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1037, allocations: 185.6 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1037, allocations: 0 / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.1038, allocations: 11.94 kB / 447.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1038, allocations: 3.984 kB / 447.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1038, allocations: 4.031 kB / 447.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1038, allocations: 4 kB / 447.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1038, allocations: 0 / 447.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1041, allocations: 279.5 kB / 448.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.1041, allocations: 89 kB / 448.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1041, allocations: 4 kB / 448.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1042, allocations: 15.97 kB / 448.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1043, allocations: 3.938 kB / 448.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1043, allocations: 4 kB / 448.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.804e-05/0.1044, allocations: 119.1 kB / 448.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1044, allocations: 4 kB / 448.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.1046, allocations: 8 kB / 448.4 MB, free: 10.23 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 7.918e-05/0.1047, allocations: 103.2 kB / 448.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1049, allocations: 55.84 kB / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1049, allocations: 4.25 kB / 448.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/0.105, allocations: 23.98 kB / 448.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.1055, allocations: 21.44 kB / 448.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.1059, allocations: 269.1 kB / 448.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.1061, allocations: 0.6926 MB / 449.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1061, allocations: 15.42 kB / 449.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1061, allocations: 3.938 kB / 449.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of Templates: time 0.002342/0.1085, allocations: 0.9199 MB / 450.5 MB, free: 8.055 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches