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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 174 kB / 16.76 MB, free: 5.035 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.385/1.385, allocations: 205 MB / 222.6 MB, free: 9.059 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.0007477/0.0007476, allocations: 86.38 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.06741/0.06741, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004932, allocations: 16 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002063/0.1135, allocations: 1.329 MB / 443 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1145, allocations: 0.5113 MB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.1146, allocations: 4 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.1147, allocations: 3.938 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1148, allocations: 19.84 kB / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1152, allocations: 39.91 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1153, allocations: 55.78 kB / 443.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1155, allocations: 19.98 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.1156, allocations: 23.86 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.1157, allocations: 23.84 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1157, allocations: 8 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1157, allocations: 0 / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.1158, allocations: 11.94 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.1159, allocations: 31.8 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.116, allocations: 40.2 kB / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.116, allocations: 7.938 kB / 443.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.116, allocations: 0 / 443.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.116, allocations: 0 / 443.8 MB, free: 14.26 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.0005275/0.1166, allocations: 387.1 kB / 444.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1166, allocations: 12.03 kB / 444.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1167, allocations: 8.844 kB / 444.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1169, allocations: 208 kB / 444.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1169, allocations: 384 / 444.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.117, allocations: 8.375 kB / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.1174, allocations: 130.2 kB / 444.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1174, allocations: 4 kB / 444.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1174, allocations: 0 / 444.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.1175, allocations: 0 / 444.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.1177, allocations: 55.91 kB / 444.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.1182, allocations: 381.8 kB / 445 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1184, allocations: 87.78 kB / 445.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1186, allocations: 38.62 kB / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1186, allocations: 11.98 kB / 445.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1187, allocations: 38.48 kB / 445.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.1187, allocations: 0 / 445.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005719/0.1193, allocations: 133.6 kB / 445.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1193, allocations: 102.8 kB / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1195, allocations: 162 kB / 445.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1195, allocations: 25.7 kB / 445.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.1196, allocations: 92.14 kB / 445.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1196, allocations: 12.02 kB / 445.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1197, allocations: 21.7 kB / 445.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.1197, allocations: 318.8 kB / 446 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1199, allocations: 19.98 kB / 446 MB, free: 11.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.12, allocations: 47.41 kB / 446.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.1203, allocations: 75.34 kB / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1203, allocations: 4 kB / 446.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003205/0.1206, allocations: 89.59 kB / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1207, allocations: 8 kB / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1207, allocations: 0 / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1207, allocations: 128 / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1209, allocations: 23.98 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1209, allocations: 0 / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.121, allocations: 15.84 kB / 446.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.121, allocations: 0 / 446.3 MB, free: 11.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.1211, allocations: 130.6 kB / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.1213, allocations: 49.59 kB / 446.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.1213, allocations: 19.86 kB / 446.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.1214, allocations: 4 kB / 446.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1214, allocations: 3.938 kB / 446.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1214, allocations: 0 / 446.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.1217, allocations: 185.6 kB / 446.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1217, allocations: 0 / 446.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1218, allocations: 11.98 kB / 446.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1219, allocations: 0 / 446.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1219, allocations: 0 / 446.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1219, allocations: 7.938 kB / 446.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1219, allocations: 4 kB / 446.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1223, allocations: 279.5 kB / 447 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.1223, allocations: 100.9 kB / 447.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1224, allocations: 0 / 447.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.1226, allocations: 8 kB / 447.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.1227, allocations: 3.984 kB / 447.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.1227, allocations: 3.938 kB / 447.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.413e-05/0.1228, allocations: 119.1 kB / 447.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1228, allocations: 0 / 447.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004912/0.1233, allocations: 12 kB / 447.2 MB, free: 10.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.777e-05/0.1234, allocations: 99.19 kB / 447.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.1237, allocations: 59.89 kB / 447.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1237, allocations: 3.938 kB / 447.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1239, allocations: 24.23 kB / 447.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.1246, allocations: 20.02 kB / 447.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.1252, allocations: 265.1 kB / 447.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.1253, allocations: 0.6965 MB / 448.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1254, allocations: 11.44 kB / 448.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1254, allocations: 0 / 448.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of Templates: time 0.002959/0.1284, allocations: 0.9239 MB / 449.3 MB, free: 8.293 MB / 298.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches