Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 104.3 kB / 16.45 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 192.1 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08192/0.08192, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 87.16 kB / 394.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1137, allocations: 49.41 MB / 443.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003515/0.1173, allocations: 1.594 MB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1183, allocations: 0.5268 MB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.1185, allocations: 0 / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.1186, allocations: 11.92 kB / 445.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1187, allocations: 7.875 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.119, allocations: 51.81 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1192, allocations: 59.78 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1193, allocations: 23.91 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.1194, allocations: 31.86 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.1195, allocations: 31.84 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1195, allocations: 8 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.1196, allocations: 4 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.1196, allocations: 19.91 kB / 445.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1197, allocations: 31.75 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1199, allocations: 67.73 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1199, allocations: 0 / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1199, allocations: 0 / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1199, allocations: 0 / 446 MB, free: 13.98 MB / 334.1 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.0006095/0.1205, allocations: 391 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1206, allocations: 8.031 kB / 446.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.1207, allocations: 24.75 kB / 446.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.121, allocations: 202.1 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.121, allocations: 4.375 kB / 446.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.121, allocations: 4.375 kB / 446.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.1214, allocations: 134.2 kB / 446.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1214, allocations: 0 / 446.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1214, allocations: 7.938 kB / 446.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.1215, allocations: 7.984 kB / 446.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.1216, allocations: 35.91 kB / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.1221, allocations: 373.9 kB / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1223, allocations: 83.77 kB / 447.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.1224, allocations: 46.62 kB / 447.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1224, allocations: 7.875 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1225, allocations: 34.56 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1225, allocations: 0 / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003881/0.1229, allocations: 113.8 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.1229, allocations: 110.8 kB / 447.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1231, allocations: 150 kB / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1231, allocations: 25.7 kB / 447.8 MB, free: 12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1232, allocations: 96.12 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1232, allocations: 15.91 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1233, allocations: 17.62 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1234, allocations: 326.8 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1235, allocations: 19.98 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.1235, allocations: 39.42 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1237, allocations: 71.33 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1237, allocations: 0 / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001835/0.1239, allocations: 77.61 kB / 448.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1239, allocations: 8 kB / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.124, allocations: 3.984 kB / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.124, allocations: 4.125 kB / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.1241, allocations: 8 kB / 448.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1241, allocations: 7.938 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.1242, allocations: 11.89 kB / 448.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1242, allocations: 0 / 448.5 MB, free: 11.26 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1243, allocations: 125.8 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.1244, allocations: 49.61 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.1244, allocations: 19.81 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.1245, allocations: 4.031 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.1245, allocations: 4 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1245, allocations: 0 / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.1247, allocations: 185.5 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1247, allocations: 4 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.1248, allocations: 7.984 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1248, allocations: 0 / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1248, allocations: 7.938 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1248, allocations: 4 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1248, allocations: 0 / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1251, allocations: 283.4 kB / 449.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.1252, allocations: 92.98 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1252, allocations: 4 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1253, allocations: 4 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1254, allocations: 8 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1254, allocations: 7.984 kB / 449.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.1255, allocations: 111.2 kB / 449.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1255, allocations: 3.938 kB / 449.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1257, allocations: 8 kB / 449.4 MB, free: 10.24 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.77e-05/0.1258, allocations: 91.25 kB / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1261, allocations: 59.97 kB / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1261, allocations: 0 / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.1261, allocations: 19.97 kB / 449.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1266, allocations: 20.03 kB / 449.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.127, allocations: 205.6 kB / 449.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1274, allocations: 0.7002 MB / 450.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.1274, allocations: 12.11 kB / 450.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.1275, allocations: 11.44 kB / 450.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1275, allocations: 0 / 450.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of Templates: time 0.003321/0.1308, allocations: 0.6877 MB / 451.2 MB, free: 8.367 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches