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.0009469/0.0009466, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009906/0.0009909, allocations: 177 kB / 16.63 MB, free: 6.887 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.722/1.722, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08161/0.08161, allocations: 12.6 MB / 283.7 MB, free: 8.695 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.0007034/0.0007034, allocations: 27.98 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1034, allocations: 50.37 MB / 394.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002001/0.1055, allocations: 1.302 MB / 396.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.1064, allocations: 0.4883 MB / 396.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1065, allocations: 8 kB / 396.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.704e-05/0.1066, allocations: 11.86 kB / 396.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1067, allocations: 15.92 kB / 396.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.107, allocations: 43.89 kB / 396.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1071, allocations: 51.78 kB / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1072, allocations: 12 kB / 396.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/0.1073, allocations: 23.86 kB / 396.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.1074, allocations: 27.84 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1074, allocations: 4 kB / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.1074, allocations: 0 / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.1075, allocations: 19.92 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.1075, allocations: 33.7 kB / 397 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.333e-05/0.1076, allocations: 44.19 kB / 397 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1076, allocations: 0 / 397 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1076, allocations: 0 / 397 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1076, allocations: 3.938 kB / 397 MB, free: 0.6758 MB / 286.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.0005459/0.1082, allocations: 390.8 kB / 397.4 MB, free: 252 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1082, allocations: 12.02 kB / 397.4 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.1083, allocations: 11.91 kB / 397.4 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1085, allocations: 182.9 kB / 397.6 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1085, allocations: 8.078 kB / 397.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1085, allocations: 4 kB / 397.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1088, allocations: 129.8 kB / 397.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1088, allocations: 0 / 397.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1088, allocations: 4 kB / 397.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.1089, allocations: 7.984 kB / 397.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.109, allocations: 51.91 kB / 397.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1095, allocations: 381.8 kB / 398.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.1096, allocations: 79.78 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.1097, allocations: 50.61 kB / 398.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1097, allocations: 3.938 kB / 398.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1098, allocations: 38.56 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1098, allocations: 0 / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003606/0.1101, allocations: 125.5 kB / 398.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.1102, allocations: 110.8 kB / 398.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1104, allocations: 154.1 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1104, allocations: 29.98 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.1105, allocations: 100.1 kB / 398.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1105, allocations: 7.906 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1105, allocations: 3.938 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1106, allocations: 322.8 kB / 399.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.1107, allocations: 19.97 kB / 399.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.1108, allocations: 47.42 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.1109, allocations: 27.98 kB / 399.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1109, allocations: 0 / 399.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000204/0.1111, allocations: 101.4 kB / 399.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1111, allocations: 4 kB / 399.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1111, allocations: 0 / 399.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1111, allocations: 4 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1113, allocations: 11.98 kB / 399.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1113, allocations: 8.125 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.1113, allocations: 8 kB / 399.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1114, allocations: 8.078 kB / 399.4 MB, free: 13.99 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.1115, allocations: 121.6 kB / 399.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.1116, allocations: 57.52 kB / 399.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1116, allocations: 11.88 kB / 399.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.1116, allocations: 7.984 kB / 399.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1116, allocations: 4.031 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1117, allocations: 0 / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1119, allocations: 185.6 kB / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1119, allocations: 3.984 kB / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.112, allocations: 8 kB / 399.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.112, allocations: 0 / 399.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.112, allocations: 4 kB / 399.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.112, allocations: 3.984 kB / 399.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.112, allocations: 4 kB / 399.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1123, allocations: 283.5 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.1124, allocations: 93 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1124, allocations: 4 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1126, allocations: 11.98 kB / 400.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1126, allocations: 0 / 400.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1126, allocations: 4 kB / 400.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1127, allocations: 119.1 kB / 400.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1127, allocations: 3.938 kB / 400.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.113, allocations: 11.94 kB / 400.3 MB, free: 12.96 MB / 302.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 (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 0.0001056/0.1131, allocations: 91.25 kB / 400.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1133, allocations: 63.89 kB / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1133, allocations: 0 / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.1134, allocations: 20.3 kB / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.1139, allocations: 49.2 kB / 400.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.1143, allocations: 227.3 kB / 400.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1147, allocations: 0.7043 MB / 401.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.063e-05/0.1147, allocations: 7.984 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1148, allocations: 11.44 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1148, allocations: 0 / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002782/0.1175, allocations: 0.5931 MB / 402.1 MB, free: 11.14 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches