Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009502/0.0009502, allocations: 173.2 kB / 16.76 MB, free: 5.047 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.682/1.682, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008349/0.0008351, allocations: 86.3 kB / 271.3 MB, free: 8.25 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.106/0.106, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004481, allocations: 20 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001383/0.1059, allocations: 0.7251 MB / 443.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.1063, allocations: 131.6 kB / 443.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.1064, allocations: 0 / 443.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.934e-05/0.1065, allocations: 7.922 kB / 443.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1066, allocations: 11.88 kB / 443.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1068, allocations: 39.95 kB / 443.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.107, allocations: 59.78 kB / 443.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1071, allocations: 43.95 kB / 444 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.1071, allocations: 11.94 kB / 444 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.1072, allocations: 23.8 kB / 444 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1072, allocations: 4 kB / 444 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.1073, allocations: 0 / 444 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.1073, allocations: 19.92 kB / 444 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.1074, allocations: 61.44 kB / 444.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.257e-05/0.1075, allocations: 55.89 kB / 444.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1075, allocations: 0 / 444.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1075, allocations: 0 / 444.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1075, allocations: 0 / 444.2 MB, free: 14.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003878/0.1079, allocations: 387.4 kB / 444.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.108, allocations: 12.03 kB / 444.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.108, allocations: 12.78 kB / 444.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1082, allocations: 220.5 kB / 444.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1082, allocations: 4.375 kB / 444.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1082, allocations: 8.375 kB / 444.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.1086, allocations: 230.9 kB / 445 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1086, allocations: 4 kB / 445 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1087, allocations: 4 kB / 445 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1087, allocations: 0 / 445 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.1087, allocations: 35.97 kB / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1089, allocations: 185.6 kB / 445.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1091, allocations: 132.1 kB / 445.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.1092, allocations: 73.11 kB / 445.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1092, allocations: 7.938 kB / 445.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1092, allocations: 34.5 kB / 445.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.1092, allocations: 4 kB / 445.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002613/0.1095, allocations: 153.6 kB / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1096, allocations: 67.34 kB / 445.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.1097, allocations: 142.4 kB / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.1097, allocations: 29.7 kB / 445.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.1097, allocations: 88.47 kB / 445.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1097, allocations: 11.98 kB / 446 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1098, allocations: 4 kB / 446 MB, free: 12.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.1098, allocations: 318.8 kB / 446.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.1099, allocations: 23.94 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.1099, allocations: 119.5 kB / 446.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.931e-05/0.11, allocations: 157.5 kB / 446.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.11, allocations: 3.938 kB / 446.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002054/0.1102, allocations: 157.1 kB / 446.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1103, allocations: 4.5 kB / 446.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1103, allocations: 8 kB / 446.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1103, allocations: 4 kB / 446.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1104, allocations: 39.92 kB / 446.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1104, allocations: 4 kB / 446.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.1105, allocations: 15.84 kB / 446.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1105, allocations: 8 kB / 446.8 MB, free: 11.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.179e-05/0.1106, allocations: 142.6 kB / 446.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1107, allocations: 109.5 kB / 447.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.1108, allocations: 25.17 kB / 447.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1108, allocations: 0 / 447.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1108, allocations: 0 / 447.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1108, allocations: 4 kB / 447.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.555e-05/0.1109, allocations: 189.5 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1109, allocations: 3.938 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.111, allocations: 23.98 kB / 447.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.111, allocations: 4 kB / 447.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.111, allocations: 4 kB / 447.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.111, allocations: 0 / 447.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.111, allocations: 0 / 447.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1112, allocations: 156.8 kB / 447.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1112, allocations: 104.8 kB / 447.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1112, allocations: 8 kB / 447.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.1113, allocations: 0 / 447.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.1113, allocations: 0 / 447.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1113, allocations: 4 kB / 447.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.1114, allocations: 111.2 kB / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1114, allocations: 4 kB / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.1116, allocations: 20 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 9.447e-05/0.1117, allocations: 91.25 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.1118, allocations: 95.72 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1118, allocations: 1 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1119, allocations: 0 / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1123, allocations: 82.31 kB / 448 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.1126, allocations: 289.4 kB / 448.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.1128, allocations: 0.7204 MB / 449 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.1128, allocations: 11.44 kB / 449 MB, free: 9.594 MB / 298.7 MB Notification: Performance of SimCode: time 5.1e-07/0.1128, allocations: 0 / 449 MB, free: 9.594 MB / 298.7 MB Notification: Performance of Templates: time 0.002383/0.1152, allocations: 1.187 MB / 450.2 MB, free: 8.406 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches