Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 173.2 kB / 16.76 MB, free: 5.051 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.377/1.377, allocations: 205 MB / 222.5 MB, free: 9.148 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.000736/0.0007359, allocations: 90.28 kB / 270.5 MB, free: 8.664 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.07027/0.07027, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.00035, allocations: 20 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07588/0.07625, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00146/0.07774, allocations: 1.242 MB / 442.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.07809, allocations: 147.5 kB / 443.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.07819, allocations: 0 / 443.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.615e-05/0.0783, allocations: 3.938 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.07838, allocations: 11.92 kB / 443.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.0786, allocations: 35.91 kB / 443.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.07868, allocations: 43.86 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.07879, allocations: 15.98 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.07882, allocations: 7.938 kB / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.07887, allocations: 23.84 kB / 443.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.07889, allocations: 0 / 443.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.0789, allocations: 4 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.07895, allocations: 8 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.07899, allocations: 31.73 kB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.87e-05/0.07905, allocations: 31.94 kB / 443.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.07906, allocations: 0 / 443.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.07907, allocations: 0 / 443.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.07907, allocations: 0 / 443.3 MB, free: 14.77 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.0003712/0.07945, allocations: 379.4 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.07949, allocations: 12.03 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.07953, allocations: 12.84 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.07967, allocations: 192.1 kB / 443.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.0797, allocations: 8.375 kB / 443.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.07971, allocations: 384 / 443.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.07996, allocations: 130.4 kB / 444 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.07998, allocations: 192 / 444 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.08, allocations: 11.92 kB / 444 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.08003, allocations: 3.938 kB / 444 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.08015, allocations: 47.91 kB / 444.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.0805, allocations: 370 kB / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.08062, allocations: 91.7 kB / 444.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.095e-05/0.0807, allocations: 38.62 kB / 444.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.08072, allocations: 7.938 kB / 444.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.08075, allocations: 34.56 kB / 444.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.08075, allocations: 0 / 444.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003112/0.08107, allocations: 125.8 kB / 444.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.08111, allocations: 106.8 kB / 444.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.08121, allocations: 149.5 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.08122, allocations: 25.7 kB / 445 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.08126, allocations: 88.14 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.08128, allocations: 7.984 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.0813, allocations: 9.719 kB / 445.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.08135, allocations: 322.9 kB / 445.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.08142, allocations: 19.98 kB / 445.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.08148, allocations: 43.41 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.0816, allocations: 71.34 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.08161, allocations: 3.938 kB / 445.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001507/0.08177, allocations: 93.52 kB / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.08179, allocations: 4 kB / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.0818, allocations: 0 / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.08182, allocations: 4 kB / 445.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.0819, allocations: 15.92 kB / 445.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.08192, allocations: 12.11 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.08196, allocations: 7.984 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.08198, allocations: 4 kB / 445.7 MB, free: 12.06 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: 4 (sample.u[2],sample.u[1],sample.y[2],sample.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.08207, allocations: 122.7 kB / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.08215, allocations: 49.59 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.08218, allocations: 11.83 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.0822, allocations: 7.984 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.08221, allocations: 7.969 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.08222, allocations: 0 / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.08239, allocations: 181.6 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.0824, allocations: 0 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.08245, allocations: 15.92 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.08246, allocations: 0 / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.08247, allocations: 4 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.08248, allocations: 7.938 kB / 446.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.08249, allocations: 0 / 446.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.08268, allocations: 279.5 kB / 446.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.08272, allocations: 92.94 kB / 446.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.08274, allocations: 8 kB / 446.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.08284, allocations: 7.984 kB / 446.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.08288, allocations: 3.984 kB / 446.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.08289, allocations: 7.938 kB / 446.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.519e-05/0.08294, allocations: 111.2 kB / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08295, allocations: 0 / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.08319, allocations: 8 kB / 446.6 MB, free: 11.05 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: 4 (sample.u[2],sample.u[1],sample.y[1],sample.y[2]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.568e-05/0.08328, allocations: 95.25 kB / 446.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.08345, allocations: 51.91 kB / 446.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.08346, allocations: 0 / 446.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/0.08353, allocations: 28.3 kB / 446.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.08392, allocations: 27.95 kB / 446.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.08422, allocations: 230.7 kB / 447 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.08435, allocations: 0.6926 MB / 447.7 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.08439, allocations: 7.438 kB / 447.7 MB, free: 9.852 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.08439, allocations: 7.938 kB / 447.7 MB, free: 9.844 MB / 298.7 MB Notification: Performance of Templates: time 0.001817/0.08621, allocations: 0.8135 MB / 448.6 MB, free: 9.031 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches