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.001337/0.001338, allocations: 174.2 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.514/1.514, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.0007145/0.0007143, allocations: 92.92 kB / 270.9 MB, free: 8.355 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.0713/0.0713, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 16 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06943/0.06982, allocations: 50.38 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00131/0.07117, allocations: 1.293 MB / 443.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005487/0.07173, allocations: 0.5 MB / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.0718, allocations: 0 / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.834e-05/0.07188, allocations: 7.922 kB / 444.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.07197, allocations: 7.938 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.07218, allocations: 55.75 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.07226, allocations: 51.78 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.07235, allocations: 15.98 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.07242, allocations: 23.88 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.07248, allocations: 27.84 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.0725, allocations: 0 / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.07252, allocations: 4 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.07255, allocations: 11.98 kB / 444.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.07257, allocations: 41.62 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.261e-05/0.07264, allocations: 35.94 kB / 444.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.07265, allocations: 8 kB / 444.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.07266, allocations: 0 / 444.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.07267, allocations: 0 / 444.5 MB, free: 14.34 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.0003601/0.07303, allocations: 387.1 kB / 444.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.07307, allocations: 8.031 kB / 444.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.0731, allocations: 7.906 kB / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.07324, allocations: 198.8 kB / 445 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.07326, allocations: 4 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.07327, allocations: 4 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.07351, allocations: 133.8 kB / 445.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.07353, allocations: 4 kB / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.07355, allocations: 4 kB / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.07357, allocations: 0 / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.0737, allocations: 51.91 kB / 445.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.07405, allocations: 381.9 kB / 445.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.07419, allocations: 91.77 kB / 445.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.07427, allocations: 38.62 kB / 445.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.07429, allocations: 7.938 kB / 445.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.07431, allocations: 30.56 kB / 445.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.07431, allocations: 4 kB / 445.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003145/0.07463, allocations: 125.4 kB / 445.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.07468, allocations: 111.2 kB / 446 MB, free: 12.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.07476, allocations: 158 kB / 446.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.07478, allocations: 29.7 kB / 446.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.07481, allocations: 96.06 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.07483, allocations: 7.906 kB / 446.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.07484, allocations: 0 / 446.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.07488, allocations: 322.8 kB / 446.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.07496, allocations: 27.98 kB / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.07503, allocations: 47.41 kB / 446.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.704e-05/0.0751, allocations: 27.98 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.07511, allocations: 0 / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001661/0.07528, allocations: 93.5 kB / 446.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.0753, allocations: 11.94 kB / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.07531, allocations: 128 / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.07532, allocations: 4 kB / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.07542, allocations: 19.98 kB / 446.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.07543, allocations: 0 / 446.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.07549, allocations: 11.98 kB / 446.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.0755, allocations: 0 / 446.9 MB, free: 11.66 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.777e-05/0.07557, allocations: 121.8 kB / 447 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.07564, allocations: 61.53 kB / 447 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.07567, allocations: 19.81 kB / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.07569, allocations: 0 / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.0757, allocations: 4 kB / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.07571, allocations: 3.938 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.07587, allocations: 177.6 kB / 447.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.07588, allocations: 3.938 kB / 447.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.07594, allocations: 8 kB / 447.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.07595, allocations: 7.984 kB / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.07597, allocations: 4 kB / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.07597, allocations: 4.031 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.07598, allocations: 4 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.07618, allocations: 279.5 kB / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.07622, allocations: 93 kB / 447.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.07624, allocations: 3.984 kB / 447.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.07636, allocations: 7.984 kB / 447.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.07641, allocations: 8 kB / 447.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.07642, allocations: 0 / 447.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.027e-05/0.07647, allocations: 115.1 kB / 447.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07648, allocations: 0 / 447.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.07673, allocations: 12 kB / 447.8 MB, free: 10.63 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 6.083e-05/0.07679, allocations: 103.2 kB / 447.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.07697, allocations: 55.91 kB / 447.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.07698, allocations: 256 / 447.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.07705, allocations: 23.98 kB / 448 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.07744, allocations: 29.39 kB / 448 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.07776, allocations: 261.1 kB / 448.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.07788, allocations: 0.7005 MB / 448.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.07792, allocations: 11.42 kB / 448.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.07792, allocations: 0 / 448.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of Templates: time 0.001734/0.07966, allocations: 0.9186 MB / 449.9 MB, free: 8.469 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